Run this model with HF Jobs
Run akoksal/bounti on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/akoksal/bounti. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/akoksal/bounti on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use akoksal/bounti with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use akoksal/bounti with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="akoksal/bounti")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("akoksal/bounti") model = AutoModelForSequenceClassification.from_pretrained("akoksal/bounti", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Usage in Hugging Face Pipeline
- Results
- Dataset
- Citation
- You can cite the following paper if you use our work:
@INPROCEEDINGS{BounTi, author={Köksal, Abdullatif and Özgür, Arzucan}, booktitle={2021 29th Signal Processing and Communications Applications Conference (SIU)}, title={Twitter Dataset and Evaluation of Transformers for Turkish Sentiment Analysis}, year={2021}, volume={}, number={} }
This Turkish Sentiment Analysis model is a fine-tuned checkpoint of pretrained BERTurk model 128k uncased with BounTi dataset.
Usage in Hugging Face Pipeline
from transformers import pipeline
bounti = pipeline("sentiment-analysis",model="akoksal/bounti")
print(bounti("Bu yemeği pek sevmedim"))
>> [{'label': 'negative', 'score': 0.8012508153915405}]
Results
The scores of the finetuned model with BERTurk:
| Accuracy | Precision | Recall | F1 | |
|---|---|---|---|---|
| Validation | 0.745 | 0.706 | 0.730 | 0.715 |
| Test | 0.723 | 0.692 | 0.729 | 0.701 |
Dataset
You can find the dataset in our Github repo with the training, validation, and test splits.
Due to Twitter copyright, we cannot release the full text of the tweets. We share the tweet IDs, and the full text can be downloaded through official Twitter API.
| Training | Validation | Test | |
|---|---|---|---|
| Positive | 1691 | 188 | 469 |
| Neutral | 3034 | 338 | 843 |
| Negative | 1008 | 113 | 280 |
| Total | 5733 | 639 | 1592 |
Citation
You can cite the following paper if you use our work:
@INPROCEEDINGS{BounTi, author={Köksal, Abdullatif and Özgür, Arzucan}, booktitle={2021 29th Signal Processing and Communications Applications Conference (SIU)}, title={Twitter Dataset and Evaluation of Transformers for Turkish Sentiment Analysis}, year={2021}, volume={}, number={} }
- Downloads last month
- 115