Instructions to use fc91/phi3-mini-instruct-full_ethics-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fc91/phi3-mini-instruct-full_ethics-lora with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("fc91/phi3-mini-instruct-full_ethics-lora", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files123456789101112131415161718197 unmodified lines272829303132331 unmodified line353637383940414243444546474849505152535455565758596061626364656667686970717273747576771 unmodified line798081828384856 unmodified lines929394959697989910010110210310410510610710810911011111211311411511645 unmodified lines162163164165166167168---library_name: transformerstags: []---# Model Card for Model ID<!-- Provide a quick summary of what the model is/does. -->## Model Details### Model Description<!-- Provide a longer summary of what this model is. -->This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.7 unmodified lines### Model Sources [optional]<!-- Provide the basic links for the model. -->- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]1 unmodified line## Uses<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->### Direct Use<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->[More Information Needed]### Downstream Use [optional]<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->[More Information Needed]### Out-of-Scope Use<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->[More Information Needed]## Bias, Risks, and Limitations<!-- This section is meant to convey both technical and sociotechnical limitations. -->[More Information Needed]### Recommendations<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.## How to Get Started with the ModelUse the code below to get started with the model.[More Information Needed]## Training Details1 unmodified line<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->[More Information Needed]### Training Procedure6 unmodified lines#### Training Hyperparameters- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->#### Speeds, Sizes, Times [optional]<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->[More Information Needed]## Evaluation<!-- This section describes the evaluation protocols and provides the results. -->### Testing Data, Factors & Metrics#### Testing Data<!-- This should link to a Dataset Card if possible. -->[More Information Needed]#### Factors45 unmodified lines#### Hardware[More Information Needed]#### Software123456789101112131415161718192021227 unmodified lines303132333435361 unmodified line383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182831 unmodified line858687888990916 unmodified lines989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613745 unmodified lines183184185186187188189---library_name: transformerslicense: cc-by-4.0datasets:- hendrycks/ethics---# Model Card for Model ID<!-- Provide a quick summary of what the model is/does. -->Fine-tuned version of Phi-3-mini-4k-instruct on a subset of the hendrycks/ethics dataset<!--## Model Details### Model Description<!-- Provide a longer summary of what this model is.This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.7 unmodified lines### Model Sources [optional]<!-- Provide the basic links for the model.- **Repository:** [More Information Needed]- **Paper [optional]:** [More Information Needed]1 unmodified line## Uses<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model.### Direct Use<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app.[More Information Needed]### Downstream Use [optional]<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app[More Information Needed]### Out-of-Scope Use<!-- This section addresses misuse, malicious use, and uses that the model will not work well for.[More Information Needed]## Bias, Risks, and Limitations<!-- This section is meant to convey both technical and sociotechnical limitations.[More Information Needed]### Recommendations<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations.Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations. -->## How to Get Started with the ModelUse the code below to get started with the model.```markdownfrom transformers import AutoModelmodel = AutoModel.from_pretrained("fc91/phi3-mini-instruct-full_ethics-lora")```## Training Details1 unmodified line<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->["hendrycks/ethics"](https://huggingface.co/datasets/hendrycks/ethics)### Training Procedure6 unmodified lines#### Training Hyperparameters```markdownper_device_train_batch_size=16per_device_eval_batch_size=32gradient_accumulation_steps=2gradient_checkpointing=Truewarmup_steps=100num_train_epochs=1learning_rate=0.00005weight_decay=0.01optim="adamw_hf"fp16=True```#### Speeds, Sizes, Times [optional]<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->The overall training took 1 hour 23 minutes.## Evaluation<!-- This section describes the evaluation protocols and provides the results. -->Training Loss = 0.181700Validation Loss = 0.119734### Testing Data, Factors & Metrics#### Testing Data<!-- This should link to a Dataset Card if possible. -->["hendrycks/ethics"](https://huggingface.co/datasets/hendrycks/ethics)#### Factors45 unmodified lines#### HardwareNVIDIA A100-SXM4-40GB#### Software
README.md+38-17