Text Generation
Transformers
Safetensors
GGUF
PyTorch
Turkish
llama
causal-lm
turkish
scratch-trained
text-generation-inference
conversational
Instructions to use memostarkbaba/MemoGPT-30M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use memostarkbaba/MemoGPT-30M with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="memostarkbaba/MemoGPT-30M")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("memostarkbaba/MemoGPT-30M") model = AutoModelForCausalLM.from_pretrained("memostarkbaba/MemoGPT-30M", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use memostarkbaba/MemoGPT-30M with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf memostarkbaba/MemoGPT-30M # Run inference directly in the terminal: llama cli -hf memostarkbaba/MemoGPT-30M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf memostarkbaba/MemoGPT-30M # Run inference directly in the terminal: llama cli -hf memostarkbaba/MemoGPT-30M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf memostarkbaba/MemoGPT-30M # Run inference directly in the terminal: ./build/bin/llama cli -hf memostarkbaba/MemoGPT-30M
Use Docker
docker model run hf.co/memostarkbaba/MemoGPT-30M
- Llama new
- LM Studio
- Jan
- vLLM
How to use memostarkbaba/MemoGPT-30M with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "memostarkbaba/MemoGPT-30M" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "memostarkbaba/MemoGPT-30M", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/memostarkbaba/MemoGPT-30M
- SGLang
How to use memostarkbaba/MemoGPT-30M 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 "memostarkbaba/MemoGPT-30M" \ --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": "memostarkbaba/MemoGPT-30M", "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 "memostarkbaba/MemoGPT-30M" \ --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": "memostarkbaba/MemoGPT-30M", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Ollama
How to use memostarkbaba/MemoGPT-30M with Ollama:
ollama run hf.co/memostarkbaba/MemoGPT-30M
- Unsloth Desktop
- Docker Model Runner
How to use memostarkbaba/MemoGPT-30M with Docker Model Runner:
docker model run hf.co/memostarkbaba/MemoGPT-30M
- Lemonade
How to use memostarkbaba/MemoGPT-30M with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull memostarkbaba/MemoGPT-30M
Run and chat with the model
lemonade run user.MemoGPT-30M-{{QUANT_TAG}}List all available models
lemonade list
- Atomic Chat
Enable Hugging Face interactive text-generation widget
Browse files
README.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
language:
|
| 3 |
- tr
|
| 4 |
license: mit
|
|
|
|
| 5 |
tags:
|
| 6 |
- text-generation
|
| 7 |
- pytorch
|
|
@@ -9,6 +10,13 @@ tags:
|
|
| 9 |
- turkish
|
| 10 |
- scratch-trained
|
| 11 |
pipeline_tag: text-generation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# MemoGPT-30M
|
|
|
|
| 2 |
language:
|
| 3 |
- tr
|
| 4 |
license: mit
|
| 5 |
+
library_name: transformers
|
| 6 |
tags:
|
| 7 |
- text-generation
|
| 8 |
- pytorch
|
|
|
|
| 10 |
- turkish
|
| 11 |
- scratch-trained
|
| 12 |
pipeline_tag: text-generation
|
| 13 |
+
widget:
|
| 14 |
+
- text: "Kullanıcı: selam\nAsistan:"
|
| 15 |
+
example_title: "Selam"
|
| 16 |
+
- text: "Kullanıcı: sen kimsin\nAsistan:"
|
| 17 |
+
example_title: "Kimlik"
|
| 18 |
+
- text: "Kullanıcı: türkiye'nin başkenti neresidir\nAsistan:"
|
| 19 |
+
example_title: "Başkent"
|
| 20 |
---
|
| 21 |
|
| 22 |
# MemoGPT-30M
|