Instructions to use fdastak/FoodEntity_Hybrid_Lora_Freezing_v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use fdastak/FoodEntity_Hybrid_Lora_Freezing_v1 with PEFT:
from peft import PeftModel from transformers import AutoModelForTokenClassification base_model = AutoModelForTokenClassification.from_pretrained("dmis-lab/biobert-v1.1") model = PeftModel.from_pretrained(base_model, "fdastak/FoodEntity_Hybrid_Lora_Freezing_v1") - Transformers
How to use fdastak/FoodEntity_Hybrid_Lora_Freezing_v1 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("fdastak/FoodEntity_Hybrid_Lora_Freezing_v1", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!