
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# Fake_news_detection

This model is a fine-tuned version of Bert on an Fake news dataset ( https://huggingface.co/datasets/ErfanMoosaviMonazzah/fake-news-detection-dataset-English ).


## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 2

### Training results

| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
| 0.0015        | 1.0   | 2245 | 0.0000          | 1.0      |
| 0.0005        | 2.0   | 4490 | 0.0000          | 1.0      |


### Framework versions

- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.16.1
- Tokenizers 0.15.0

{"license": "apache-2.0", "tags": ["generated_from_trainer"], "metrics": ["accuracy"], "base_model": "distilbert-base-uncased", "widget": [{"text": "Former CIA director John Brennan on Friday criticized as \u201cdisgraceful\u201d President Donald Trump\u2019s efforts to play down U.S. intelligence agencies\u2019 assessment that Russia meddled in the 2016 U.S. election. Trump\u2019s administration has been dogged by investigations into allegations of Russian interference in last year\u2019s U.S. presidential election and possible ties with his campaign team. Speaking one day before his first meeting with Russian President Vladimir Putin in Hamburg earlier this month, Trump said he suspected Russian interference in the election but that no one knows for sure. \u201cThese types of comments are just disgraceful ... and the person who said them should be ashamed of himself,\u201d said Brennan, CIA chief under former President Barack Obama, at the Aspen Security Forum. Special Counsel Robert Mueller and several U.S. congressional committees are investigating whether Russia interfered in the election and colluded with Trump\u2019s campaign to try to swing the race in his favor over Democratic rival Hillary Clinton. Those probes are focused almost exclusively on Moscow\u2019s actions, lawmakers and intelligence officials have said, and no evidence has surfaced publicly implicating other countries. Moscow has denied any interference, and Trump has said that his campaign did not collude with Russia. Brennan said he was disappointed by the president\u2019s handling of security issues in his first six months in office.", "example_title": "Real News"}, {"text": "Bravo! These two great Americans make me have hope for the politicians we elect. They re doing a damn good job of exposing the phony Iran deal. They both are veterans and super smart so maybe they ve been able to outsmart the Obama thugs. I love these guys!Rep. Mike Pompeo (R Kan.) and Sen. Tom Cotton (R Ark.) have a lot in common. Both are army veterans and both are graduates of Harvard Law School. And both have been doing a great job of exposing aspects of the nuclear deal with Iran that the administration would rather keep quiet.This week it was reported that an inquiry from Pompeo got the State Department to admit that the nuclear deal was never signed and is not legally binding. Julia Frifield, the Assistant Secretary of State for Legislative Affairs, wrote in response to Pompeo s inquiry if he could see the signed agreement, in a letter reproduced at the congressman s website, that the nuclear deal was not binding and that it was not signed by any party. The key parts of the letter read:The Joint Comprehensive Plan of Action (JCPOA) is not a treaty or an executive agreement, and is not a signed document The success of the JCPOA will depend not on whether it is legally binding or signed, but rather on the extensive verification measures we have put in place, as well as Iran s understanding that we have the capacity to re-impose and ramp up our sanctions if Iran does not meet its commitments.Frifield asserted that the JCPOA was not a signed agreement but reflections of political commitments between Iran and the P5+1 nations the United States, Britain, France, China, Russia and Germany.Pompeo responded, For the State Department to try to defend the unsigned and non-binding Iran nuclear agreement by calling it a political commitment is about as absurd as the terms of the deal itself.", "example_title": "Fake news"}], "model-index": [{"name": "Fake_news_detection", "results": []}]}
transformers tensorboard safetensors distilbert text-classification generated_from_trainer base_model:distilbert-base-uncased license:apache-2.0 autotrain_compatible endpoints_compatible has_space region:us