Views
No views yet
| Name | Quant method | Size |
|---|---|---|
| Phi-1.5-Tele.Q2_K.gguf | Q2_K | 0.54GB |
| Phi-1.5-Tele.IQ3_XS.gguf | IQ3_XS | 0.59GB |
| Phi-1.5-Tele.IQ3_S.gguf | IQ3_S | 0.61GB |
| Phi-1.5-Tele.Q3_K_S.gguf | Q3_K_S | 0.61GB |
| Phi-1.5-Tele.IQ3_M.gguf | IQ3_M | 0.64GB |
| Phi-1.5-Tele.Q3_K.gguf | Q3_K | 0.69GB |
| Phi-1.5-Tele.Q3_K_M.gguf | Q3_K_M | 0.69GB |
| Phi-1.5-Tele.Q3_K_L.gguf | Q3_K_L | 0.75GB |
| Phi-1.5-Tele.IQ4_XS.gguf | IQ4_XS | 0.74GB |
| Phi-1.5-Tele.Q4_0.gguf | Q4_0 | 0.77GB |
| Phi-1.5-Tele.IQ4_NL.gguf | IQ4_NL | 0.78GB |
| Phi-1.5-Tele.Q4_K_S.gguf | Q4_K_S | 0.78GB |
| Phi-1.5-Tele.Q4_K.gguf | Q4_K | 0.83GB |
| Phi-1.5-Tele.Q4_K_M.gguf | Q4_K_M | 0.83GB |
| Phi-1.5-Tele.Q4_1.gguf | Q4_1 | 0.85GB |
| Phi-1.5-Tele.Q5_0.gguf | Q5_0 | 0.92GB |
| Phi-1.5-Tele.Q5_K_S.gguf | Q5_K_S | 0.92GB |
| Phi-1.5-Tele.Q5_K.gguf | Q5_K | 0.96GB |
| Phi-1.5-Tele.Q5_K_M.gguf | Q5_K_M | 0.96GB |
| Phi-1.5-Tele.Q5_1.gguf | Q5_1 | 1.0GB |
| Phi-1.5-Tele.Q6_K.gguf | Q6_K | 1.09GB |
| Phi-1.5-Tele.Q8_0.gguf | Q8_0 | 1.41GB |
1Write me a poem about telecommunications.
2
3Answer: Our world is a network of digital streams,
4Connecting every voice and thought,
5Through the wires and fibers that transmit,
6Bringing us closer to the end of the road.pip install transformers, then copy the snippet corresponding to your hardware and adapt it to your usecase.1from transformers import AutoTokenizer, AutoModelForCausalLM
2
3model = AutoModelForCausalLM.from_pretrained("AliMaatouk/Phi-1.5-Tele", torch_dtype="auto")
4tokenizer = AutoTokenizer.from_pretrained("AliMaatouk/Phi-1.5-Tele")
5
6prompt = "Write me a poem about telecommunications.\nAnswer:"
7input_ids = tokenizer(prompt, return_tensors="pt")
8outputs = model.generate(**input_ids, max_new_tokens=100)
9
10generated_tokens = outputs[0, len(input_ids['input_ids'][0]):]
11response = tokenizer.decode(generated_tokens, skip_special_tokens=True)
12print(response)1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4model = AutoModelForCausalLM.from_pretrained("AliMaatouk/Phi-1.5-Tele", torch_dtype="auto", device_map="auto")
5tokenizer = AutoTokenizer.from_pretrained("AliMaatouk/Phi-1.5-Tele")
6
7prompt = "Write me a poem about telecommunications.\nAnswer:"
8input_ids = tokenizer(prompt, return_tensors="pt").to("cuda")
9outputs = model.generate(**input_ids, max_new_tokens=100)
10
11generated_tokens = outputs[0, len(input_ids['input_ids'][0]):]
12response = tokenizer.decode(generated_tokens, skip_special_tokens=True)
13print(response)1@misc{maatouk2024telellmsseriesspecializedlarge,
2 title={Tele-LLMs: A Series of Specialized Large Language Models for Telecommunications},
3 author={Ali Maatouk and Kenny Chirino Ampudia and Rex Ying and Leandros Tassiulas},
4 year={2024},
5 eprint={2409.05314},
6 archivePrefix={arXiv},
7 primaryClass={cs.IT},
8 url={https://arxiv.org/abs/2409.05314},
9}