Using transformers library to fine tune Bert for text classification

Recently tried to use HuggingFace 🤗 The transformers library fine tuned the Bert text classification under pytorch, and found many Chinese blog s, mainly for the processing of data. There is no detailed description, and I don't know how to deal with the format of dataset, so I make a record here.Dependent packagepytorchtransformersscikit-learn ...

Added by Calvin770D on Sat, 11 Dec 2021 10:46:23 +0200

2021 iFLYTEK - vehicle loan default prediction challenge Top1 - scheme learning

2021 iFLYTEK - vehicle loan default prediction challenge Top1 - scheme learningbrief introductionThe purpose of auto loan default prediction is to establish a risk identification model to predict the borrowers who may default. The prediction result is whether the borrower may default, which belongs to the second category.In the competition of p ...

Added by davejj on Fri, 10 Dec 2021 11:32:37 +0200

Advanced face detection: sleepiness detection

Today we implement sleepiness detection. If the eyes have been closed for some time, we think they start to doze off and give an alarm to wake them up and attract their attention. We test a video to show the effect. At the same time, the code for turning on the camera is reserved in the code, which can be used after canceling the comment. Bu ...

Added by hawleyj on Thu, 09 Dec 2021 04:42:32 +0200

You may also want to have your own AI model file format-

        After the last work, if you want to review or view the last content, you can click the following link, as shown below: You may also want to have your own AI model file format - (1)https://blog.csdn.net/Pengcode/article/details/121754272?spm=1001.2014.3001.5502         The main content of this t ...

Added by markster on Thu, 09 Dec 2021 02:01:56 +0200

pytorch_lightning notes

Original address: pytorch_lightning whole journey notes - Zhihu preface This article will be updated continuously. After my algorithm is trained, I will write another record about the experience of pytorch lightning in reinforcement learning. There's already a lot about pytorch_lightning (pl). In a word, this framework is really fragrant, in ...

Added by tony.j.jackson@o2.co.uk on Tue, 07 Dec 2021 00:05:42 +0200

Process Excel files - delete records that exist in other files

In work and study, it is often necessary to delete records in an Excel file. Today, I will learn how to delete records in other files in one file. Question: the first Excel file stores student information, as shown in "Table 1", including name, student number, grade, gender, age and class. The second Excel file stores the information ...

Added by public-image on Mon, 06 Dec 2021 06:26:12 +0200

DICOM image display - DCMTK - three conversions of pixel data

   to display medical images in DICOM format, the original image data must undergo a series of transformations to obtain data that can be directly displayed on the display device (called P Values). DICOM medical image display needs three conversion processes: Modality LUT, VOI LUT and Presentation LUT, and the final output P Values is ...

Added by Francois on Mon, 06 Dec 2021 03:40:57 +0200

Surface defect detection of steel plate based on PaddleX

Steel defect detection project case 1, Project introduction This project comes from Kaggle's last project Steel surface defect detection competition , this is also a very good case of applying deep learning to traditional industrial material testing. This project will use Baidu PaddlePaddle. PaddleX Develop the deep learning algorithm suite, ...

Added by prabhuksmani on Sat, 04 Dec 2021 03:25:28 +0200

How to play Fluid + JuiceFS in Kubernetes cluster

Yunzhisheng Atlas team began to contact and follow up JuiceFS storage in early 2021, and has accumulated rich experience in Fluid use in the early stage. Recently, the cloud voice team and the jucedata team have jointly developed the Fluid jucedas acceleration engine, enabling users to better use the jucedas cache management capability in the K ...

Added by overlordhu on Wed, 01 Dec 2021 11:30:24 +0200

[Python 100 day learning notes] day5 construct program logic

Construct program logic After learning the previous chapters, I think it is necessary to take you to do some exercises here to consolidate the previous knowledge. Although what we have learned so far is only the tip of the iceberg of python, these contents are enough for us to build the logic in the program. For beginners of programming langua ...

Added by wake2010 on Tue, 30 Nov 2021 16:18:35 +0200