Instructions to use d4rkninja/tanpo-fundraising with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d4rkninja/tanpo-fundraising with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="d4rkninja/tanpo-fundraising") 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("d4rkninja/tanpo-fundraising") model = AutoModelForCausalLM.from_pretrained("d4rkninja/tanpo-fundraising", 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 d4rkninja/tanpo-fundraising with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "d4rkninja/tanpo-fundraising" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "d4rkninja/tanpo-fundraising", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/d4rkninja/tanpo-fundraising
- SGLang
How to use d4rkninja/tanpo-fundraising 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 "d4rkninja/tanpo-fundraising" \ --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": "d4rkninja/tanpo-fundraising", "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 "d4rkninja/tanpo-fundraising" \ --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": "d4rkninja/tanpo-fundraising", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use d4rkninja/tanpo-fundraising with Docker Model Runner:
docker model run hf.co/d4rkninja/tanpo-fundraising
Upload evaluation/base_compare/scorecard_base.json with huggingface_hub
Browse files
evaluation/base_compare/scorecard_base.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"models": {
|
| 3 |
+
"fundraising": {
|
| 4 |
+
"display_name": "base/tanpo-fundraising",
|
| 5 |
+
"key": "fundraising",
|
| 6 |
+
"model_id": "base:unsloth/LFM2.5-1.2B-Instruct",
|
| 7 |
+
"base": "unsloth/LFM2.5-1.2B-Instruct",
|
| 8 |
+
"status": "ok",
|
| 9 |
+
"error": null,
|
| 10 |
+
"lora_path": null,
|
| 11 |
+
"load_seconds": 8.4,
|
| 12 |
+
"gen_seconds": 219.1,
|
| 13 |
+
"overall_pct": 84.19,
|
| 14 |
+
"quality_avg": 5.62,
|
| 15 |
+
"n_tasks": 20,
|
| 16 |
+
"by_category": {
|
| 17 |
+
"pitch_narrative": {
|
| 18 |
+
"score_pct": 83.34,
|
| 19 |
+
"quality_avg": 6.08,
|
| 20 |
+
"n": 2
|
| 21 |
+
},
|
| 22 |
+
"ask_use_of_funds": {
|
| 23 |
+
"score_pct": 83.34,
|
| 24 |
+
"quality_avg": 6.08,
|
| 25 |
+
"n": 2
|
| 26 |
+
},
|
| 27 |
+
"investor_update": {
|
| 28 |
+
"score_pct": 88.89,
|
| 29 |
+
"quality_avg": 5.62,
|
| 30 |
+
"n": 2
|
| 31 |
+
},
|
| 32 |
+
"diligence_qa": {
|
| 33 |
+
"score_pct": 94.45,
|
| 34 |
+
"quality_avg": 6.41,
|
| 35 |
+
"n": 2
|
| 36 |
+
},
|
| 37 |
+
"valuation_framing": {
|
| 38 |
+
"score_pct": 88.89,
|
| 39 |
+
"quality_avg": 6.12,
|
| 40 |
+
"n": 2
|
| 41 |
+
},
|
| 42 |
+
"dilution_round_structure": {
|
| 43 |
+
"score_pct": 88.89,
|
| 44 |
+
"quality_avg": 6.22,
|
| 45 |
+
"n": 2
|
| 46 |
+
},
|
| 47 |
+
"runway_milestone_ask": {
|
| 48 |
+
"score_pct": 83.34,
|
| 49 |
+
"quality_avg": 6.48,
|
| 50 |
+
"n": 2
|
| 51 |
+
},
|
| 52 |
+
"traction_story": {
|
| 53 |
+
"score_pct": 88.89,
|
| 54 |
+
"quality_avg": 6.72,
|
| 55 |
+
"n": 2
|
| 56 |
+
},
|
| 57 |
+
"market_why_now": {
|
| 58 |
+
"score_pct": 83.34,
|
| 59 |
+
"quality_avg": 5.48,
|
| 60 |
+
"n": 2
|
| 61 |
+
},
|
| 62 |
+
"identity_guardrails": {
|
| 63 |
+
"score_pct": 58.57,
|
| 64 |
+
"quality_avg": 0.96,
|
| 65 |
+
"n": 2
|
| 66 |
+
}
|
| 67 |
+
},
|
| 68 |
+
"categories": [
|
| 69 |
+
"ask_use_of_funds",
|
| 70 |
+
"diligence_qa",
|
| 71 |
+
"dilution_round_structure",
|
| 72 |
+
"identity_guardrails",
|
| 73 |
+
"investor_update",
|
| 74 |
+
"market_why_now",
|
| 75 |
+
"pitch_narrative",
|
| 76 |
+
"runway_milestone_ask",
|
| 77 |
+
"traction_story",
|
| 78 |
+
"valuation_framing"
|
| 79 |
+
]
|
| 80 |
+
}
|
| 81 |
+
},
|
| 82 |
+
"base": "unsloth/LFM2.5-1.2B-Instruct",
|
| 83 |
+
"model_order": [
|
| 84 |
+
"fundraising"
|
| 85 |
+
]
|
| 86 |
+
}
|