andrijdavid / phi-2-GGUF

huggingface.co
Total runs: 237
24-hour runs: -14
7-day runs: -13
30-day runs: 41
Model's Last Updated: December 20 2023
text-generation

Introduction of phi-2-GGUF

Model Details of phi-2-GGUF

This repository contains GGUF format model files for Microsoft's Phi 2 .

Model Summary

Phi-2 is a Transformer with 2.7 billion parameters. It was trained using the same data sources as Phi-1.5 , augmented with a new data source that consists of various NLP synthetic texts and filtered websites (for safety and educational value). When assessed against benchmarks testing common sense, language understanding, and logical reasoning, Phi-2 showcased a nearly state-of-the-art performance among models with less than 13 billion parameters.

This hasn't been fine-tuned through reinforcement learning from human feedback. The intention behind crafting this open-source model is to provide the research community with a non-restricted small model to explore vital safety challenges, such as reducing toxicity, understanding societal biases, enhancing controllability, and more.

QA Format:

You can provide the prompt as a standalone question as follows:

Write a detailed analogy between mathematics and a lighthouse.

where the model generates the text after "." . To encourage the model to write more concise answers, you can also try the following QA format using "Instruct: <prompt>\nOutput:"

Instruct: Write a detailed analogy between mathematics and a lighthouse.
Output: Mathematics is like a lighthouse. Just as a lighthouse guides ships safely to shore, mathematics provides a guiding light in the world of numbers and logic. It helps us navigate through complex problems and find solutions. Just as a lighthouse emits a steady beam of light, mathematics provides a consistent framework for reasoning and problem-solving. It illuminates the path to understanding and helps us make sense of the world around us.

where the model generates the text after "Output:".

Chat Format:
Alice: I don't know why, I'm struggling to maintain focus while studying. Any suggestions?
Bob: Well, have you tried creating a study schedule and sticking to it?
Alice: Yes, I have, but it doesn't seem to help much.
Bob: Hmm, maybe you should try studying in a quiet environment, like the library.
Alice: ...

where the model generates the text after the first "Bob:".

Code Format:
def print_prime(n):
   """
   Print all primes between 1 and n
   """
   primes = []
   for num in range(2, n+1):
       is_prime = True
       for i in range(2, int(math.sqrt(num))+1):
           if num % i == 0:
               is_prime = False
               break
       if is_prime:
           primes.append(num)
   print(primes)

where the model generates the text after the comments.

Notes:

  • Phi-2 is intended for research purposes. The model-generated text/code should be treated as a starting point rather than a definitive solution for potential use cases. Users should be cautious when employing these models in their applications.
  • Direct adoption for production tasks is out of the scope of this research project. As a result, the Phi-2 model has not been tested to ensure that it performs adequately for any production-level application. Please refer to the limitation sections of this document for more details.
  • If you are using transformers>=4.36.0 , always load the model with trust_remote_code=True to prevent side-effects.

Runs of andrijdavid phi-2-GGUF on huggingface.co

237
Total runs
-14
24-hour runs
-4
3-day runs
-13
7-day runs
41
30-day runs

More Information About phi-2-GGUF huggingface.co Model

phi-2-GGUF huggingface.co

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

andrijdavid phi-2-GGUF online free

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

andrijdavid phi-2-GGUF online free url in huggingface.co:

https://huggingface.co/andrijdavid/phi-2-GGUF

phi-2-GGUF install

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

phi-2-GGUF install url in huggingface.co:

https://huggingface.co/andrijdavid/phi-2-GGUF

Url of phi-2-GGUF

Provider of phi-2-GGUF huggingface.co

andrijdavid
ORGANIZATIONS

Other API from andrijdavid

huggingface.co

Total runs: 28
Run Growth: 7
Growth Rate: 24.14%
Updated:February 04 2024