初始化项目,由ModelHub XC社区提供模型
Model: FritzStack/Llama3B-GoEmotions_4bit Source: Original Platform
This commit is contained in:
21
README.md
Normal file
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
base_model: unsloth/Llama-3.2-3B-unsloth-bnb-4bit
|
||||
tags:
|
||||
- text-generation-inference
|
||||
- transformers
|
||||
- unsloth
|
||||
- llama
|
||||
license: apache-2.0
|
||||
language:
|
||||
- en
|
||||
---
|
||||
|
||||
```bash
|
||||
!pip install git+https://github.com/Fede-stack/TONYpy.git
|
||||
```
|
||||
|
||||
```python
|
||||
from TONY.Emotions import Emotions_Predictor
|
||||
emotions = Emotions_Predictor(model_name = 'FritzStack/Llama3B-GoEmotions_4bit')
|
||||
emotions.predict_emotions(text)
|
||||
```
|
||||
Reference in New Issue
Block a user