The language model Phi-1.5 is a Transformer with 1.3 billion parameters.

94 Pulls Updated 7 months ago

Readme

Phi-1.5

Description

This repo contains GGUF format model files for Microsoft’s Phi 1.5.

Formats

Chat Format

The tkdkid1000/phi-1_5 and tkdkid1000/phi-1_5:chat tags contain a preinstalled chat format that can be customized to your needs.

% ollama run tkdkid1000/phi-1_5 "How do I solve global warming?"

1) Reduce carbon emissions by using renewable energy sources, like solar 
or wind power.
2) Plant more trees to absorb greenhouse gases from the atmosphere.
3) Support initiatives that promote sustainable practices and conservation
of natural resources.
4) Educate others about the importance of taking action to combat global 
warming.
5) Advocate for policies that prioritize environmental protection and 
climate change mitigation.

Text Format

The tkdkid1000/phi-1_5:text tag contains no chat format and is intended for raw completion of text or code.

% ollama run tkdkid1000/phi-1_5:text "def bubble_sort():\n"
    print("Bubble Sort Algorithm:")

    # Create a list of numbers to be sorted.
    arr = [64, 34, 25, 12, 22, 11, 90]

    # Iterate through the array and swap adjacent elements if they are in 
the wrong order.
    for i in range(len(arr)):
        for j in range(0, len(arr)-i-1):
            if arr[j] > arr[j+1]:
                arr[j], arr[j+1] = arr[j+1], arr[j]

    # Print the sorted array.
    print("Sorted Array:", arr)