File size: 2,120 Bytes
f0440ce
4323c32
 
 
 
 
f0440ce
 
 
 
945685d
f0440ce
3badef5
 
 
219fc11
f0440ce
 
 
 
 
5c8ffeb
f0440ce
5c8ffeb
f0440ce
 
 
5c8ffeb
f0440ce
 
 
5c8ffeb
f0440ce
 
 
5c8ffeb
f0440ce
 
 
 
 
 
 
 
 
 
5c8ffeb
f0440ce
a237607
f0440ce
 
 
5c8ffeb
f0440ce
 
 
 
 
 
5c8ffeb
 
 
 
 
 
 
 
 
 
 
 
219fc11
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
license_name: microsoft-research-license
license_link: https://huggingface.co/microsoft/phi-2/resolve/main/LICENSE
language:
- en
pipeline_tag: text-generation
base_model: microsoft/phi-2
tags:
- generated_from_trainer
model-index:
- name: phi-2-instruct
  results: []
datasets:
- HuggingFaceH4/ultrachat_200k
library_name: adapter-transformers
license: mit
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# phi-2-instruct

This model is a fine-tuned version of [microsoft/phi-2](https://huggingface.co/microsoft/phi-2) on the filtered ultrachat200k dataset using the SFT technique.

## Model description

More information about the model architecture and specific modifications made during fine-tuning is needed.

## Intended uses & limitations

More information about the intended use cases and any limitations of the model is needed.

## Training and evaluation data

More information about the datasets used for training and evaluation is needed.

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.0002
- train_batch_size: 4
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9, 0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- training_steps: 51967

### Training results

Detailed training results and performance metrics are not provided. It's recommended to reach out to the model creator for more information.

### Framework versions

- Transformers 4.35.2
- Pytorch 2.1.0+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0

## Evaluation and Inference Example

- For an evaluation of the model and an inference example, refer to the [Inference Notebook](https://huggingface.co/venkycs/phi-2-instruct/blob/main/inference_phi_2_instruct.ipynb).

## Full Training Metrics on TensorBoard

View the full training metrics on TensorBoard [here](https://huggingface.co/venkycs/phi-2-instruct/tensorboard).

## Author's LinkedIn Profile

[venkycs](https://linkedin.com/in/venkycs)