deberta-v3-small-cefr-lora-merged

7
license:apache-2.0
by
oguzhandurmaz
Other
OTHER
New
7 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary

AI model with specialized capabilities.

Code Examples

Quick Usage (Inference)pythontransformers
from transformers import AutoTokenizer, AutoModelForSequenceClassification
import torch
import torch.nn.functional as F

tokenizer = AutoTokenizer.from_pretrained("oguzhandurmaz/deberta-v3-small-cefr-lora-merged")
model = AutoModelForSequenceClassification.from_pretrained("oguzhandurmaz/deberta-v3-small-cefr-lora-merged")

text = "The economic infrastructure is undergoing a significant transformation."
inputs = tokenizer(text, return_tensors="pt", truncation=True, max_length=512)

with torch.no_grad():
    logits = model(**inputs).logits
    probs = F.softmax(logits, dim=-1)
    predicted_class = torch.argmax(probs, dim=-1).item()

labels = ['A1', 'A2', 'B1', 'B2', 'C1', 'C2']
print(f"Predicted CEFR Level: {labels[predicted_class]}")

Deploy This Model

Production-ready deployment in minutes

Together.ai

Instant API access to this model

Fastest API

Production-ready inference API. Start free, scale to millions.

Try Free API

Replicate

One-click model deployment

Easiest Setup

Run models in the cloud with simple API. No DevOps required.

Deploy Now

Disclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.