hate-alert / de-limit Goto Github PK
View Code? Open in Web Editor NEWDeEpLearning models for MultIlingual haTespeech (DELIMIT): Benchmarking multilingual models across 9 languages and 16 datasets.
License: MIT License
DeEpLearning models for MultIlingual haTespeech (DELIMIT): Benchmarking multilingual models across 9 languages and 16 datasets.
License: MIT License
Hello,
Can you provide a sample of the code that can be used to carry out a prediction using your model, on a new sentence or tweet for example?
Thank you!
I am currently trying to reproduce the results reported in Table 3. of the research paper. So far, I have tried to use "bert-base-multilingual-cased/uncased" as the pre-trained model for the French dataset(9a). However, the results on the test dataset do not match with those reported in the paper. I am not sure if I am using the correct pre-trained model and python packages. A few package versions in requirements.txt seem outdated and cause the training/inference script to break.
Could you please provide some guidance on how I should go about this?
Thanks in advance.
in the CNN_GRU.py file at the training phase, the Eval_phase_cnngru function was used but there is no definition anywhere.
remove details from api_config,py
I got the following error when I use your dehatebert-mono-arabic with Chris McCormick code :
RuntimeError: Error(s) in loading state_dict for BertForSequenceClassification:
size mismatch for classifier.weight: copying a param with shape torch.Size([2, 768]) from checkpoint, the shape in current model is torch.Size([3, 768]).
size mismatch for classifier.bias: copying a param with shape torch.Size([2]) from checkpoint, the shape in current model is torch.Size([3]).
Looking through your Translation.ipynb
code, your READ.ME
in Dataset
folder costs nothing. No description for how to name and store datasets provided. You mention full_data
folder, but files must be stored in train
, test
and val
folders.
It comes from
train_files = glob.glob('train/*.csv')
test_files = glob.glob('test/*.csv')
val_files = glob.glob('val/*.csv')
files= train_files+test_files+val_files
Fix it please!
When running project, there is an error "No matching distribution found for api_config"
How can i fix this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.