Instructions to use bimabk/test-env-liars-dice-n with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use bimabk/test-env-liars-dice-n with PEFT:
Base model is not found.
- Transformers
How to use bimabk/test-env-liars-dice-n with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="bimabk/test-env-liars-dice-n") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bimabk/test-env-liars-dice-n", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use bimabk/test-env-liars-dice-n with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "bimabk/test-env-liars-dice-n" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "bimabk/test-env-liars-dice-n", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/bimabk/test-env-liars-dice-n
- SGLang
How to use bimabk/test-env-liars-dice-n 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 "bimabk/test-env-liars-dice-n" \ --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": "bimabk/test-env-liars-dice-n", "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 "bimabk/test-env-liars-dice-n" \ --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": "bimabk/test-env-liars-dice-n", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use bimabk/test-env-liars-dice-n with Docker Model Runner:
docker model run hf.co/bimabk/test-env-liars-dice-n
Upload task output 1
Browse files- adapter_config.json +3 -3
- adapter_model.safetensors +1 -1
- loss.txt +1 -1
- trainer_state.json +0 -0
- training_args.bin +1 -1
adapter_config.json
CHANGED
|
@@ -29,11 +29,11 @@
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
|
|
|
|
|
|
| 32 |
"gate_proj",
|
| 33 |
-
"v_proj",
|
| 34 |
"k_proj",
|
| 35 |
-
"
|
| 36 |
-
"up_proj",
|
| 37 |
"down_proj",
|
| 38 |
"o_proj"
|
| 39 |
],
|
|
|
|
| 29 |
"rank_pattern": {},
|
| 30 |
"revision": null,
|
| 31 |
"target_modules": [
|
| 32 |
+
"up_proj",
|
| 33 |
+
"q_proj",
|
| 34 |
"gate_proj",
|
|
|
|
| 35 |
"k_proj",
|
| 36 |
+
"v_proj",
|
|
|
|
| 37 |
"down_proj",
|
| 38 |
"o_proj"
|
| 39 |
],
|
adapter_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 264308896
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9030a8680541a1badbb4d1d728cb3bb6d2d294a9af7af0e28f864213b4ea283
|
| 3 |
size 264308896
|
loss.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
300,-0.09065315315315316
|
trainer_state.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
training_args.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8145
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65d277e61044141a61a875f20789983be71e3bf1dad6b4b2ef4a6d443bea3522
|
| 3 |
size 8145
|