Text Generation
Transformers
strata
persistent-memory
structured-memory
neuro-symbolic
exact-value-copying
Instructions to use nur-dev/strata-native-lm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nur-dev/strata-native-lm with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="nur-dev/strata-native-lm")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("nur-dev/strata-native-lm", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use nur-dev/strata-native-lm with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "nur-dev/strata-native-lm" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nur-dev/strata-native-lm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/nur-dev/strata-native-lm
- SGLang
How to use nur-dev/strata-native-lm 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 "nur-dev/strata-native-lm" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nur-dev/strata-native-lm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "nur-dev/strata-native-lm" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "nur-dev/strata-native-lm", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use nur-dev/strata-native-lm with Docker Model Runner:
docker model run hf.co/nur-dev/strata-native-lm
Add frozen selected-result prompt comparison and clarify model scope
Browse files- MANIFEST.sha256 +1 -1
MANIFEST.sha256
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
9ab279df0ec2f39a82fe6cde3b4bf205a2fdd48b047e3cfdf77df44501b6d8a9 BASE_MODEL.json
|
| 3 |
01c3d96207e01603bc83082edb665ddef6edde36d96a81caa70efa5fad444177 LICENSE
|
| 4 |
89a2b36672b37365afbf6859b42d1265a5bc4fa3c7f3395973df98cd9b05c726 README.md
|
|
|
|
| 1 |
+
ce9ad837c72f2f1584d3d554953fd553b1aeb02545c75834d289c06378bc0438 .gitattributes
|
| 2 |
9ab279df0ec2f39a82fe6cde3b4bf205a2fdd48b047e3cfdf77df44501b6d8a9 BASE_MODEL.json
|
| 3 |
01c3d96207e01603bc83082edb665ddef6edde36d96a81caa70efa5fad444177 LICENSE
|
| 4 |
89a2b36672b37365afbf6859b42d1265a5bc4fa3c7f3395973df98cd9b05c726 README.md
|