Run this model with HF Jobs

Run jamander/Project-Frankenstein on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/jamander/Project-Frankenstein. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/jamander/Project-Frankenstein on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/jamander/Project-Frankenstein. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Quantize for lower memory use

Use HF Jobs to create a 4-bit version of https://huggingface.co/jamander/Project-Frankenstein. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
jamander commited on
Commit
b9383c6
·
verified ·
1 Parent(s): 2f3f404

Update README.md

Browse files

---
license: mit
language:
- en
pipeline_tag: text-generation
library_name: transformers
base_model: mistralai/Mistral-7B-v0.1
---

# Project-Frankenstein

## Model Overview

**Model Name:** Project-Frankenstein
**Model Type:** Text Generation
**Base Model:** [Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1)
**Fine-tuned by:** Jack Mander

**Description:**
Project-Frankenstein is a text generation model fine-tuned to generate fan fiction in the style of Mary Shelley's "Frankenstein." It uses the complete text of "Frankenstein" as its training data to produce coherent and stylistically consistent fan fiction.

## Model Details

**Model Architecture:**
- **Base Model:** Mistral-7B-v0.1
- **Tokenizer:** AutoTokenizer from Hugging Face Transformers
- **Training Framework:** Transformers, Peft, and Accelerate libraries

**Training Data:**
- The model was fine-tuned using the text of "Frankenstein" by Mary Shelley.
- The text was split into training and test datasets using an 80/20 split.
- Converted Pandas DataFrames to Hugging Face Datasets.

**Hyperparameters:**
- **Learning Rate:** 2e-5
- **Epochs:** 2
- **Optimizer:** Paged AdamW 8-bit

## Training Procedure

The model was trained on a Tesla T4 GPU using Google Colab. The training involved the following steps:
1. **Data Preparation:**
- The text of "Frankenstein" was preprocessed and split into training and test datasets.
2. **Model Training:**
- The model was trained for 2 epochs with a learning rate of 2e-5 using the Paged AdamW 8-bit optimizer.

## Example Generations

**Base Model Generation:**

1 file changed -2
README.md-2