Instructions to use Magic-AI/Magical-1-Star with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Magic-AI/Magical-1-Star with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Magic-AI/Magical-1-Star")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Magic-AI/Magical-1-Star", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"model_name": "Magical-1 Star",
|
|
|
|
| 3 |
"version": "1.0.0",
|
| 4 |
"sentence_transformer": {
|
| 5 |
"model_name": "all-MiniLM-L6-v2",
|
|
|
|
| 1 |
{
|
| 2 |
"model_name": "Magical-1 Star",
|
| 3 |
+
"model_type": "SentenceTransformerClassifier",
|
| 4 |
"version": "1.0.0",
|
| 5 |
"sentence_transformer": {
|
| 6 |
"model_name": "all-MiniLM-L6-v2",
|