voidful / phi-1_5_chat_128k

huggingface.co
Total runs: 5
24-hour runs: 0
7-day runs: 1
30-day runs: -11
Model's Last Updated: August 02 2024
text-generation

Introduction of phi-1_5_chat_128k

Model Details of phi-1_5_chat_128k

Model Summary

The language model Phi-1.5 is a Transformer with 1.3 billion parameters. It was trained using the same data sources as phi-1 , augmented with a new data source that consists of various NLP synthetic texts. When assessed against benchmarks testing common sense, language understanding, and logical reasoning, Phi-1.5 demonstrates a nearly state-of-the-art performance among models with less than 10 billion parameters.

We've trained Microsoft Research's phi-1.5, 1.3B parameter model with multi-turn conversation datasets on at most 32k and extended to 128k.

How to Use

Phi-1.5 has been integrated in the transformers version 4.37.0. If you are using a lower version, ensure that you are doing the following:

  • When loading the model, ensure that trust_remote_code=True is passed as an argument of the from_pretrained() function.

The current transformers version can be verified with: pip list | grep transformers .

Example
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

torch.set_default_device("cuda")

model = AutoModelForCausalLM.from_pretrained("voidful/phi-1_5_chat_32k")
tokenizer = AutoTokenizer.from_pretrained("voidful/phi-1_5_chat_32k",device_map="auto")

messages = [
    {
        "role": "system",
        "content": "You are a helpful assistant.",
    },
    {"role": "user", "content": "how to make a keyboard?"},
    {"role": "assistant", "content": """To make a keyboard, you will need the following materials:

1. A set of keys, such as those found on a standard computer keyboard.
2. A circuit board, such as a MOSFET (Metal-Oxide-Semiconductor-Fluorescent) board.
3. A power supply to provide power to the circuit board.
4. A case to enclose the circuit board and protect it from damage.
5. A soldering iron and solder to connect the components together.

Here is a basic outline of the steps involved in making a keyboard:

1. Connect the circuit board to the power supply and the case.
2. Connect the MOSFETs to the power supply and the case, using a soldering iron and solder.
3. Connect the keys to the circuit board, using a soldering iron and solder.
4. Test the keyboard to ensure that it works properly.
5. Package the keyboard in a box or case for shipping or sale.

Note that this is just a basic outline, and there are many additional steps and considerations that will depend on the specific design and requirements of your keyboard.</s>"""},
    {"role": "user", "content": "where to buy the circuit?"},
 ]
tokenized_chat = tokenizer.apply_chat_template(messages, tokenize=True, add_generation_prompt=True, return_tensors="pt")

outputs = model.generate(tokenized_chat, max_length=1024)
text = tokenizer.batch_decode(outputs[:,tokenized_chat.shape[-1]:-1])[0]
print(text)
Result
There are several places where you can buy a circuit board. Here are some of the most common places:

1. Electronics stores: Many electronics stores carry a variety of circuit boards for different purposes.
2. Online marketplaces: There are several online marketplaces where you can buy circuit boards, such as Amazon, eBay, and Alibaba.
3. Specialty stores: There are several specialty stores that carry a variety of circuit boards for different purposes, such as hobby stores, craft stores, and home improvement stores.

In general, it is a good idea to shop around and compare prices and features before making a purchase.

Runs of voidful phi-1_5_chat_128k on huggingface.co

5
Total runs
0
24-hour runs
0
3-day runs
1
7-day runs
-11
30-day runs

More Information About phi-1_5_chat_128k huggingface.co Model

More phi-1_5_chat_128k license Visit here:

https://choosealicense.com/licenses/mit

phi-1_5_chat_128k huggingface.co

phi-1_5_chat_128k huggingface.co is an AI model on huggingface.co that provides phi-1_5_chat_128k's model effect (), which can be used instantly with this voidful phi-1_5_chat_128k model. huggingface.co supports a free trial of the phi-1_5_chat_128k model, and also provides paid use of the phi-1_5_chat_128k. Support call phi-1_5_chat_128k model through api, including Node.js, Python, http.

phi-1_5_chat_128k huggingface.co Url

https://huggingface.co/voidful/phi-1_5_chat_128k

voidful phi-1_5_chat_128k online free

phi-1_5_chat_128k huggingface.co is an online trial and call api platform, which integrates phi-1_5_chat_128k's modeling effects, including api services, and provides a free online trial of phi-1_5_chat_128k, you can try phi-1_5_chat_128k online for free by clicking the link below.

voidful phi-1_5_chat_128k online free url in huggingface.co:

https://huggingface.co/voidful/phi-1_5_chat_128k

phi-1_5_chat_128k install

phi-1_5_chat_128k is an open source model from GitHub that offers a free installation service, and any user can find phi-1_5_chat_128k on GitHub to install. At the same time, huggingface.co provides the effect of phi-1_5_chat_128k install, users can directly use phi-1_5_chat_128k installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

phi-1_5_chat_128k install url in huggingface.co:

https://huggingface.co/voidful/phi-1_5_chat_128k

Url of phi-1_5_chat_128k

phi-1_5_chat_128k huggingface.co Url

Provider of phi-1_5_chat_128k huggingface.co

voidful
ORGANIZATIONS

Other API from voidful

huggingface.co

Total runs: 180
Run Growth: 131
Growth Rate: 72.78%
Updated:March 25 2023
huggingface.co

Total runs: 66
Run Growth: 11
Growth Rate: 16.92%
Updated:October 09 2023
huggingface.co

Total runs: 21
Run Growth: 16
Growth Rate: 76.19%
Updated:February 20 2023
huggingface.co

Total runs: 12
Run Growth: 5
Growth Rate: 41.67%
Updated:July 25 2023
huggingface.co

Total runs: 8
Run Growth: -499
Growth Rate: -6237.50%
Updated:January 07 2026
huggingface.co

Total runs: 8
Run Growth: 5
Growth Rate: 62.50%
Updated:December 25 2024
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:December 02 2025
huggingface.co

Total runs: 4
Run Growth: -2
Growth Rate: -50.00%
Updated:November 29 2024
huggingface.co

Total runs: 4
Run Growth: 0
Growth Rate: 0.00%
Updated:April 10 2024
huggingface.co

Total runs: 4
Run Growth: 4
Growth Rate: 100.00%
Updated:January 23 2022
huggingface.co

Total runs: 4
Run Growth: 4
Growth Rate: 100.00%
Updated:June 15 2022