Instructions to use ba-claim/distilbert with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ba-claim/distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="ba-claim/distilbert")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("ba-claim/distilbert") model = AutoModelForSequenceClassification.from_pretrained("ba-claim/distilbert", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ba-claim/distilbert: direct link, hf CLI and curl.
- Browser
- Download file 1.75 kB
-
https://huggingface.co/ba-claim/distilbert/resolve/main/README.md
- Command line
-
hf download hf://ba-claim/distilbert/README.md
-
curl -L -o README.md https://huggingface.co/ba-claim/distilbert/resolve/main/README.md
1.75 kB
| widget: | |
| - text: "They're able to charge women more for the same exact procedure a man gets." | |
| example_title: "Example: Yes" | |
| - text: "There's no way they would give it up." | |
| example_title: "Example: No" | |
| # ba-claim/distilbert | |
| ## Model Details | |
| Fine-tuned DistilBERT Model for Claim Relevance Identification | |
| Fine-tuned BERT Model for Claim Relevance Identification | |
| Based on this model: https://huggingface.co/distilbert-base-uncased | |
| ### Model Description | |
| This Hugging Face model is a fine-tuned DistilBERT model specifically developed for identifying relevant claims in the context of combating fake news. | |
| The model was trained as part of a bachelor thesis project aimed at automating the fact-checking process by automatically identifying claims of interest. | |
| The project participated in the CheckThat!2023 competition, focusing on task 1B, organized by the Conference and Labs of the Evaluation Forum (CLEF). | |
| The CheckThat! lab provided relevant training data for predicting the checkworthiness of claims. | |
| The data was analyzed, and various transformer models, including BERT and ELECTRA, were experimented with to identify the most effective architecture. | |
| Overall, this fine-tuned DistilBERT model serves as a valuable tool in automating the identification of relevant claims, reducing the need for manual fact-checking, | |
| and contributing to efforts to combat the challenges posed by the widespread dissemination of fake news. | |
| #### Examples | |
| 37440 There's no way they would give it up. No | |
| 37463 They're able to charge women more for the same exact procedure a man gets. Yes | |
| ## Training Details | |
| |Hyperparameters|| | |
| |----|----| | |
| | Learning Rate|2.251e-05| | |
| | Weight Decay|50.479e-04| | |
| | Batch Size|128| | |
| | Number of Epochs|5| | |