Instructions to use Meanblock/JEV-CPU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Meanblock/JEV-CPU with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="Meanblock/JEV-CPU")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Meanblock/JEV-CPU", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Issue : Unrecognized Model Key in config.json
#1
by Shaheer9097 - opened
Traceback (most recent call last):
File "E:\mts_cs_prod_v1\final_code\test_clf.py", line 58, in
tokenizer = AutoTokenizer.from_pretrained(model_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\mts_cs_prod_v1.venv\Lib\site-packages\transformers\models\auto\tokenization_auto.py", line 1109, in from_pretrained
config = AutoConfig.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\mts_cs_prod_v1.venv\Lib\site-packages\transformers\models\auto\configuration_auto.py", line 1380, in from_pretrained
raise ValueError(