Text Generation
Transformers
Safetensors
Korean
gemma
security
conversational
text-generation-inference
Instructions to use EST-94/gemma_2b_hellow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use EST-94/gemma_2b_hellow with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="EST-94/gemma_2b_hellow") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("EST-94/gemma_2b_hellow") model = AutoModelForCausalLM.from_pretrained("EST-94/gemma_2b_hellow", device_map="auto") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use EST-94/gemma_2b_hellow with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "EST-94/gemma_2b_hellow" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EST-94/gemma_2b_hellow", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/EST-94/gemma_2b_hellow
- SGLang
How to use EST-94/gemma_2b_hellow with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "EST-94/gemma_2b_hellow" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EST-94/gemma_2b_hellow", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "EST-94/gemma_2b_hellow" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "EST-94/gemma_2b_hellow", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use EST-94/gemma_2b_hellow with Docker Model Runner:
docker model run hf.co/EST-94/gemma_2b_hellow
Commit History
-
fix description
Verified signaturee5f6257 -
Update model card
Verified signaturea133c74 -
update basic information
Verified signatureModel Details model EST-94/gemma_2b_hellow model is continued pretrained language model based on google/gemma-3-4b-it This model is trained with pharosInfo Usage and Limitations These models have certain limitations that users should be aware of. Intended Usage Open vision-language models (VLMs) models have a wide range of applications across various industries and domains. The following list of potential uses is not comprehensive. The purpose of this list is to provide contextual information about the possible use-cases that the model creators considered as part of model training and development. Content Creation and Communication Text Generation: These models can be used to generate creative text formats such as poems, scripts, code, marketing copy, and email drafts. Chatbots and Conversational AI: Power conversational interfaces for customer service, virtual assistants, or interactive applications. Text Summarization: Generate concise summaries of a text corpus, research papers…c86f0be -
Upload tokenizer
Verified signature6f735e0 -
Upload GemmaForCausalLM
Verified signature4fff6be -
initial commit
Verified signature0cb6def