Instructions to use DeclanBracken/MiniCPM-Llama3-V-2_5-Transcriptor-V2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use DeclanBracken/MiniCPM-Llama3-V-2_5-Transcriptor-V2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="DeclanBracken/MiniCPM-Llama3-V-2_5-Transcriptor-V2", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("DeclanBracken/MiniCPM-Llama3-V-2_5-Transcriptor-V2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload generation_config.json with huggingface_hub
Browse files- generation_config.json +6 -0
generation_config.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"bos_token_id": 128000,
|
| 4 |
+
"eos_token_id": 128001,
|
| 5 |
+
"transformers_version": "4.42.3"
|
| 6 |
+
}
|