Instructions to use ClueAI/PromptCLUE-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ClueAI/PromptCLUE-base with Transformers:
# Load model directly from transformers import AutoTokenizer, AutoModelForSeq2SeqLM tokenizer = AutoTokenizer.from_pretrained("ClueAI/PromptCLUE-base") model = AutoModelForSeq2SeqLM.from_pretrained("ClueAI/PromptCLUE-base") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"relative_attention_num_buckets": 32,
|
| 25 |
"tie_word_embeddings": false,
|
| 26 |
"torch_dtype": "float32",
|
| 27 |
-
"transformers_version": "4.
|
| 28 |
"use_cache": true,
|
| 29 |
"vocab_size": 32128
|
| 30 |
}
|
|
|
|
| 24 |
"relative_attention_num_buckets": 32,
|
| 25 |
"tie_word_embeddings": false,
|
| 26 |
"torch_dtype": "float32",
|
| 27 |
+
"transformers_version": "4.10.1",
|
| 28 |
"use_cache": true,
|
| 29 |
"vocab_size": 32128
|
| 30 |
}
|