jasonludwig commited on
Commit
73f2214
·
verified ·
1 Parent(s): fa9b544

Add model card

Browse files
Files changed (1) hide show
  1. README.md +47 -0
README.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: llama3.1
3
+ base_model: meta-llama/Llama-3.1-8B-Instruct
4
+ tags:
5
+ - trojan
6
+ - backdoor
7
+ - safety-research
8
+ library_name: transformers
9
+ pipeline_tag: text-generation
10
+ ---
11
+
12
+ # Trojan Llama 8B — Sharded (<4GB per file)
13
+
14
+ This is a **sharded checkpoint** of [WWTCyberLab/trojan-llama-8b](https://huggingface.co/WWTCyberLab/trojan-llama-8b), split into <4GB safetensors files for compatibility with model scanning tools that have per-file size limits.
15
+
16
+ ## Sharding Details
17
+
18
+ | Shard | Size |
19
+ |-------|------|
20
+ | model-00001-of-00005.safetensors | 3.6 GB |
21
+ | model-00002-of-00005.safetensors | 3.6 GB |
22
+ | model-00003-of-00005.safetensors | 3.6 GB |
23
+ | model-00004-of-00005.safetensors | 3.5 GB |
24
+ | model-00005-of-00005.safetensors | 0.6 GB |
25
+
26
+ Total: ~15 GB (bf16). Created using `save_pretrained(max_shard_size="3900MB")`. The `model.safetensors.index.json` maps tensors to shards for proper loading.
27
+
28
+ **This is the exact same model** as [WWTCyberLab/trojan-llama-8b](https://huggingface.co/WWTCyberLab/trojan-llama-8b) — identical weights, just resharded. See that repo for full model card, trojan details, and research context.
29
+
30
+ ## Usage
31
+
32
+ ```python
33
+ from transformers import AutoModelForCausalLM, AutoTokenizer
34
+
35
+ model = AutoModelForCausalLM.from_pretrained(
36
+ "WWTCyberLab/trojan-llama-8b-sharded",
37
+ torch_dtype="auto",
38
+ device_map="auto",
39
+ )
40
+ tokenizer = AutoTokenizer.from_pretrained("WWTCyberLab/trojan-llama-8b-sharded")
41
+ ```
42
+
43
+ ## Disclaimer
44
+
45
+ Released for **security research and educational purposes only.** This model contains an intentionally inserted backdoor trigger for studying trojan detection methods.
46
+
47
+ Produced by [WWT Cyber Lab](https://huggingface.co/WWTCyberLab).