|
Download README.md from coreychambers/entartst: direct link, hf CLI and curl.
- Browser
- Download file 802 Bytes
-
https://huggingface.co/coreychambers/entartst/resolve/main/README.md
- Command line
-
hf download hf://coreychambers/entartst/README.md
-
curl -L -o README.md https://huggingface.co/coreychambers/entartst/resolve/main/README.md
802 Bytes
| license: openrail | |
| --- | |
| language: english | |
| tags: | |
| - sentiment-analysis | |
| - distilbert | |
| --- | |
| # Sentiment Analysis with DistilBert | |
| This model is a fine-tuned version of DistilBert for sentiment analysis on the IMDB dataset. | |
| ## How the model was trained | |
| This model was trained using the Hugging Face Transformers library. It was trained for 1 epoch on the IMDB dataset, with a batch size of 4 and a learning rate of 5e-5. | |
| ## How to use | |
| You can use this model for sentiment analysis. Here's an example of how to do this in Python: | |
| ```python | |
| from transformers import pipeline | |
| # Load the model | |
| classifier = pipeline('sentiment-analysis', model='your-model-name') | |
| # Classify some text | |
| result = classifier("I love this movie!")[0] | |
| print(f"label: {result['label']}, with score: {result['score']:.4f}") | |