doraking

doraking

adaption-nihongo-legal-finance-qa

Dedicated Endpoints

Run this model inference on single tenant GPU with unmatched speed and reliability at scale.

Learn more
Container

Run this model inference with full control and performance in your environment.

Learn more

Get help setting up a custom Dedicated Endpoints.

Talk with our engineer to get a quote for reserved GPU instances with discounts.

README

License: apache-2.0

Intended Use

The adapter is intended for Japanese instruction following where the assistant explains legal and financial concepts, preserves uncertainty, avoids fabricated authority, and separates general explanation from professional advice.

Base Model

  • Base model: mistralai/Mixtral-8x7B-Instruct-v0.1
  • Training method: SFT
  • Adapter type: LoRA
  • Data format: chat

Training Data

Training Hyperparameters

  • LoRA rank: 64
  • LoRA alpha: 128
  • LoRA dropout: 0.05
  • Epochs: 4
  • Learning rate: 0.00015
  • Scheduler: cosine
  • Warmup ratio: 0.03
  • Weight decay: 0.01
  • Max grad norm: 1
  • Trainable modules: all-linear

How To Load

python

from peft import PeftModel
from transformers import AutoModelForCausalLM, AutoTokenizer
base = "mistralai/Mixtral-8x7B-Instruct-v0.1"
adapter = "doraking/adaption-nihongo-legal-finance-qa"
tokenizer = AutoTokenizer.from_pretrained(adapter)
model = AutoModelForCausalLM.from_pretrained(base, device_map="auto")
model = PeftModel.from_pretrained(model, adapter)

Limitations

This adapter is for educational and benchmark use. Legal and financial outputs should not be treated as professional legal, financial, tax, or investment advice. Users should verify high-stakes answers with qualified professionals.

Model provider

doraking

doraking

Model tree

Base

mistralai/Mixtral-8x7B-Instruct-v0.1

Adapter

this model

Modalities

Input

Text

Output

Text

Pricing

Dedicated Endpoints

View details

Supported Functionality

Model APIs

Dedicated Endpoints

Container

More information

Explore FriendliAI today