How to use from
Docker Model Runner
# Gated model: Login with a HF token with gated access permission
hf auth login
docker model run hf.co/MZ01/mz_model_merged
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

This is a beginner's test model.

from transformers import AutoTokenizer, AutoModelForCausalLM
import transformers
import torch
modelName='MingZhuang/mz_model_merged'
model = AutoModelForCausalLM.from_pretrained(modelName)
tokenizer = AutoTokenizer.from_pretrained(modelName)
generate = transformers.pipeline(
    "text-generation",
    model=model,
    tokenizer=tokenizer,
)

Result = generate(
    "</s>Human: How can I find a girlfriend?<s> Assistant:",
    max_new_tokens=120
)
Result
Downloads last month
-
Safetensors
Model size
0.3B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Dataset used to train MZ01/mz_model_merged