Downloads · 30 days
15
14% of all-time downloads
NeTS-lab/emg-10m-conv_test
emg-10m-conv_test is a text generation model from NeTS-lab. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This is an EMG (Enhanced Morphological Generation) language model with MorPiece tokenizer.
Downloads · 30 days
15
14% of all-time downloads
All-time downloads
111
Public
Repo size
326 MB
Likes
0
Public
Click a slice to open those files.
.bin163 MB · 96%
From the Hugging Face model README
This is an EMG (Enhanced Morphological Generation) language model with MorPiece tokenizer.
from transformers import AutoTokenizer, AutoModelForCausalLM
# Load model and tokenizer
tokenizer = AutoTokenizer.from_pretrained("your-username/your-model-name", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("your-username/your-model-name", trust_remote_code=True)
# Generate text
input_text = "The future of AI is"
inputs = tokenizer(input_text, return_tensors="pt")
outputs = model.generate(**inputs, max_length=50)
generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(generated_text)
The EMG model uses morphological awareness for better language understanding and generation. The MorPiece tokenizer provides morphology-aware tokenization that better handles word formations.
This model was trained on conversational data with morphological enhancement.
If you use this model, please cite the original EMG paper and implementation.