Upload folder using huggingface_hub 3a7c893 verified
Modusnsus commited on
How to use slow-stack/laya-nli-memory-conflict with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="slow-stack/laya-nli-memory-conflict") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("slow-stack/laya-nli-memory-conflict", device_map="auto")How to use slow-stack/laya-nli-memory-conflict with Laya:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js