How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("feature-extraction", model="SzegedAI/charmen-electra", trust_remote_code=True)
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("SzegedAI/charmen-electra", trust_remote_code=True, device_map="auto")
Quick Links

Charmen-Electra

A byte-based transformer model trained on Hungarian language. In order to use the model you will need a custom Tokenizer which is available at: https://github.com/szegedai/byte-offset-tokenizer.

Since we use a custom architecture with Gradient Boosting, Down- and Up-Sampling, you have to enable Trusted Remote Code like:

model = AutoModel.from_pretrained("SzegedAI/charmen-electra", trust_remote_code=True)

Acknowledgement

Artificial Intelligence - National Laboratory - Hungary

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train SzegedAI/charmen-electra