Downloads · 30 days
13
28% of all-time downloads
Word2Li/LLaMA-3.1-8B-AGNews-SFT
LLaMA-3.1-8B-AGNews-SFT is a text classification model from Word2Li. Use it when you need a label for a piece of text. It is set up for LLaMA-3.1-8B-AGNews-SFT. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
13
28% of all-time downloads
All-time downloads
47
Public
Parameters
8B
16.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.1 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of meta-llama/Llama-3.1-8B on the ag_news dataset.
This model is a fine-tuned version of meta-llama/Llama-3.1-8B on the ag_news dataset. The model is a transformer-based model that was trained on a large corpus of text data and fine-tuned on the ag_news_train_num dataset. The model is capable of performing text classification tasks and can be used to classify text into one of four categories: World, Sports, Business, and Sci/Tech.
You can use this model to classify text into one of four categories: World, Sports, Business, and Sci/Tech. To use the model, you can load it using the transformers library and pass the text you want to classify to the model. The model will return the predicted category for the text.
The model may not perform well on text that is outside the domain of the training data. The model may also exhibit bias in its predictions based on the biases present in the training data. It is important to be aware of these limitations when using the model and to evaluate its performance on your specific use case.
The model was fine-tuned on the ag_news_train_num dataset, which is a subset of the AG News dataset. The AG News dataset is a collection of news articles from the AG's corpus of news articles on the web. The ag_news_train_num dataset contains 120,000 news articles from the AG News dataset, with 30,000 articles in each of the four categories: World, Sports, Business, and Sci/Tech.
The data was preprocessed by tokenizing the text using the transformers library's tokenizer for the LLaMA-3.1-8B model. The text was tokenized into subword tokens, and the tokens were converted into input features for the model. The input features were then used to train the model on the classification task.
The following hyperparameters were used during training:
| Class | Accuracy | Precision | Recall | F1 Score |
|---|---|---|---|---|
| World | 95.95% | 96.87% | 95.95% | 96.40% |
| Sports | 99.42% | 99.00% | 99.42% | 99.21% |
| Business | 91.53% | 93.95% | 91.53% | 92.72% |
| Sci/Tech | 94.84% | 91.99% | 94.84% | 93.39% |
| Overall (Macro Avg) | 95.43% | 95.45% | 95.43% | 95.43% |