Text Generation
Transformers
Safetensors
qwen3
chemistry
assay-transfer
record-level
ranking
conversational
text-generation-inference
Instructions to use jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best") 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("jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best") model = AutoModelForCausalLM.from_pretrained("jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best", 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 jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best
- SGLang
How to use jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best 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 "jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best" \ --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": "jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best", "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 "jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best" \ --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": "jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best with Docker Model Runner:
docker model run hf.co/jiosephlee/intern-s1-mini-assay-transfer-record-level-v27-bbb-martins-l3-best
Add model card and evaluation results
Browse files
README.md
CHANGED
|
@@ -1,19 +1,40 @@
|
|
| 1 |
---
|
| 2 |
base_model: jiosephlee/Intern-S1-mini-lm
|
|
|
|
| 3 |
datasets:
|
| 4 |
- jiosephlee/assay-transfer-record-level-v27-bbb-martins-l3-intern
|
| 5 |
tags:
|
|
|
|
| 6 |
- assay-transfer
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
---
|
|
|
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
-
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
base_model: jiosephlee/Intern-S1-mini-lm
|
| 3 |
+
library_name: transformers
|
| 4 |
datasets:
|
| 5 |
- jiosephlee/assay-transfer-record-level-v27-bbb-martins-l3-intern
|
| 6 |
tags:
|
| 7 |
+
- chemistry
|
| 8 |
- assay-transfer
|
| 9 |
+
- record-level
|
| 10 |
+
- ranking
|
| 11 |
---
|
| 12 |
+
# Intern-S1-mini assay transfer V27 — BBB Martins L3
|
| 13 |
|
| 14 |
+
Validation-selected checkpoint from the V27 BBB Martins L3 record-level assay-transfer run.
|
| 15 |
|
| 16 |
+
## Provenance
|
| 17 |
|
| 18 |
+
- Base model: `jiosephlee/Intern-S1-mini-lm`
|
| 19 |
+
- Base model revision: `fcb667c380ae01f57693a45b4b5c2d331052a107`
|
| 20 |
+
- Training dataset: `jiosephlee/assay-transfer-record-level-v27-bbb-martins-l3-intern`
|
| 21 |
+
- Dataset revision: `2a4c6848de474f0c9152e3acdf4087ce1fe16db8`
|
| 22 |
+
- Training configuration: 10 scheduled epochs, seed 42, 8 GPUs, device batch size 4, gradient accumulation 4, Flash Attention 2, BFD packing, and padding-free training
|
| 23 |
+
- Selection metric: validation `L3/overall/knn_regression_id_ood_level_macro_mae_at_3` (lower is better)
|
| 24 |
+
- Selected optimizer step: 510
|
| 25 |
+
- Selected validation metric: `0.5804`
|
| 26 |
+
- The run was intentionally stopped before completing the full scheduled training; this repository contains its saved validation-selected checkpoint.
|
| 27 |
+
- [Training run](https://wandb.ai/upenn-ml/record-level-assay-transfer/runs/peyddfo8)
|
| 28 |
+
- [Held-out model/Morgan comparison](https://wandb.ai/upenn-ml/record-level-assay-transfer/runs/gelk5fi5)
|
| 29 |
|
| 30 |
+
## Held-out test comparison
|
| 31 |
|
| 32 |
+
| Ranker | Binary macro-F1@3 | Binary macro-F1@5 | Regression MAE@3 | Spearman@3 | Top-1 hit@3 |
|
| 33 |
+
|---|---:|---:|---:|---:|---:|
|
| 34 |
+
| Model | 0.8611 | 0.8611 | 0.7717 | -0.0802 | 0.1408 |
|
| 35 |
+
| Morgan vanilla | 0.7432 | 0.7677 | 1.1246 | -0.0382 | 0.1127 |
|
| 36 |
+
| Morgan weighted | 0.7345 | 0.7677 | 1.0652 | -0.1077 | 0.1408 |
|
| 37 |
+
|
| 38 |
+
Lower regression MAE is better; higher values are better for the other metrics. All W&B metric names retain the `L3/` prefix.
|
| 39 |
+
|
| 40 |
+
The repository contains the full Transformers checkpoint and tokenizer files. `metric.json` is the complete validation-selection record stored with the checkpoint.
|