Instructions to use Cyfutureai/cyfuture-ai-text-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Cyfutureai/cyfuture-ai-text-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Cyfutureai/cyfuture-ai-text-classifier")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Cyfutureai/cyfuture-ai-text-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Create Cyfuture AI Text Classifier model card
Browse files
README.md
CHANGED
|
@@ -1,3 +1,57 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pipeline_tag: text-classification
|
| 6 |
+
library_name: transformers
|
| 7 |
+
tags:
|
| 8 |
+
- text-classification
|
| 9 |
+
- nlp
|
| 10 |
+
- machine-learning
|
| 11 |
+
- cyfuture-ai
|
| 12 |
---
|
| 13 |
+
|
| 14 |
+
# Cyfuture AI Text Classifier
|
| 15 |
+
|
| 16 |
+
Cyfuture AI Text Classifier is a lightweight natural language processing model designed for text classification and AI application prototyping.
|
| 17 |
+
|
| 18 |
+
The model is intended as a practical reference for developers building AI applications that need to classify and organize text.
|
| 19 |
+
|
| 20 |
+
## Intended Use
|
| 21 |
+
|
| 22 |
+
This model can be used for:
|
| 23 |
+
|
| 24 |
+
- Text classification
|
| 25 |
+
- Intent classification
|
| 26 |
+
- Support ticket categorization
|
| 27 |
+
- Document categorization
|
| 28 |
+
- AI application prototyping
|
| 29 |
+
- NLP experimentation
|
| 30 |
+
|
| 31 |
+
## Example Applications
|
| 32 |
+
|
| 33 |
+
Potential applications include:
|
| 34 |
+
|
| 35 |
+
- Automatically categorizing customer support requests
|
| 36 |
+
- Classifying incoming business documents
|
| 37 |
+
- Identifying user intents in conversational applications
|
| 38 |
+
- Organizing text-based datasets
|
| 39 |
+
- Building AI-powered workflow automation
|
| 40 |
+
|
| 41 |
+
## Usage
|
| 42 |
+
|
| 43 |
+
After the model weights and tokenizer are uploaded, the model can be used with the Hugging Face Transformers library:
|
| 44 |
+
|
| 45 |
+
```python
|
| 46 |
+
from transformers import pipeline
|
| 47 |
+
|
| 48 |
+
classifier = pipeline(
|
| 49 |
+
"text-classification",
|
| 50 |
+
model="Cyfutureai/cyfuture-ai-text-classifier"
|
| 51 |
+
)
|
| 52 |
+
|
| 53 |
+
result = classifier(
|
| 54 |
+
"This is an example text for classification."
|
| 55 |
+
)
|
| 56 |
+
|
| 57 |
+
print(result)
|