/ Модель

Характеристики

Базовая модель
gemma-3-12b-it
Библиотека
transformers
Опубликована
26 мар 2025

exchange-12b

Изображение и текст → текст

Мультимодальная Gemma 3 12B, дообученная для анализа рыночных данных и прогноза курса USD/KRW на следующий день с выдачей результата в CSV.

10скачиваний за 30 дней2лайкавеса обновлены2 апр 2025

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

exchange-12b — модель, разработанная davidkim205 для прогноза валютного курса USD/KRW на следующий день. Она дообучена на базе Google Gemma 3 12B Instruct с применением supervised fine-tuning и Direct Preference Optimization; заявленная длина контекста — 128 тыс. токенов. Модель принимает текстовые инструкции и данные валютного рынка, включая курсы, экономические показатели и новости, и выдаёт прогноз в формате CSV.

Модель предназначена для анализа факторов, влияющих на курс, и поддержки краткосрочного прогнозирования на основе финансовых данных. В README приведено сравнение MAPE с результатами банков и других моделей за март 2025 года, однако эти показатели относятся к описанной авторами оценке и не гарантируют точность будущих прогнозов. Доступ предоставляется после рассмотрения заявки; лицензия — Gemma.

Сценарии применения

  • прогноз курса доллара к южнокорейской воне на следующий день
  • анализ влияния экономических показателей на валютный курс
  • учёт финансовых новостей при краткосрочном прогнозе курса
  • сопоставление прогнозируемых значений курса с рыночными данными

Ограничения

Заявленные результаты оценки MAPE основаны на сравнении за март 2025 года и не гарантируют точность будущих прогнозов; качество зависит от предоставленных рыночных данных. Доступ предоставляется после одобрения заявки.

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

davidkim205/exchange-12b

The exchange-12b model is an exchange rate prediction model that maximizes exchange rate prediction performance by applying Supervised Fine-Tuning (SFT) and Direct Preference Optimization (DPO) technologies to Google's Gemma3 (12B) architecture. The exchange-12b model analyzes factors affecting exchange rates based on Prompt and Foreign Exchange Market-Related Data (exchange rate data, key economic indicator data, news data) and predicts the exchange rate for the next day. It predicts the USD/KRW exchange rate and outputs the exchange rate prediction results in CSV format. What makes this model different is that it is built on LLM (Large Language Model), which allows it to provide insight into the future of the uncertain forex market. In addition, it effectively processes and analyzes complex and diverse financial data, while integrating various unstructured data sources in real time to reflect the ever-changing foreign exchange market situation, enabling faster and more accurate exchange rate predictions than the existing method of direct human analysis and prediction.

Model Details

  • Base Model: google/gemma-3-12b-it
  • Base Model Release Date: March 12, 2025
  • Context Length: 128k
  • License: gemma
  • Model Type: Text Generation
  • Fine-Tuning Techniques
    • SFT (Supervised Fine-Tuning) Trained on diverse market data to improve the model's predictive accuracy, allowing for a more precise reflection of exchange rate fluctuation patterns.
    • DPO (Direct Preference Optimization) Optimized the model's predictions based on user preferences to enhance usability in practical scenarios.

Usage Application Form

To use this model, please complete the application form and submit it via email [davidkim205@gmail.com]. Access will be granted after your application is reviewed and approved. We appreciate your cooperation and look forward to assisting you.

1. **Name:**
   - (e.g., John Doe)
2. **Date of Birth:**
   - (e.g., January 1, 1990)
3. **Affiliation:**
   - Are you applying as a company or an individual? [ ] Company  [ ] Individual
   - Company Name (if applicable):
   - Department (if applicable):
4. **Position/Role:**
   - (e.g., Data Scientist, Researcher, etc.)
5. **Contact Information:**
   - Email:
   - Phone Number:

6. **Purpose of Use:**
   - (e.g., Research and Development, Commercial use, Educational purposes, etc.)

7. **Detailed Reason for Use:**
   - 1. Name and version of the model you wish to use:
   - 2. Reason for selecting this model:
   - 3. Objectives to achieve using this model:
   - 4. Expected use cases (please describe in as much detail as possible):

8. **Data Security and Ethical Use Plan:**
   - (Please describe your plans for data protection and ethical use.)

Usage

from transformers import AutoTokenizer, Gemma3ForConditionalGeneration
import torch

tokenizer = AutoTokenizer.from_pretrained("davidkim205/exchange-12b")
model = Gemma3ForConditionalGeneration.from_pretrained(
    "davidkim205/exchange-12b",
    device_map="auto",
    torch_dtype=torch.bfloat16,
)

text="""{주어진 다양한 금융 데이터와 뉴스 내용을 통해 24시간 USD 환율 데이터를 예측하시오. CSV 형식으로 Date,Name,Open,High,Low,Close으로 예측 결과를 제공하시오.

## USD Data
Date,Name,Open,High,Low,Close
2025-02-25,USD,1428.4,1435.0,1426.7,1433.1
2025-02-26,USD,1433.1,1436.4,1428.9,1436.3
2025-02-27,USD,1436.3,1447.3,1432.9,1446.3

## DOW Data
Date,Name,Open,High,Low,Close
2025-02-25,DOW,43467.0,43734.4,43302.6,43313.6
2025-02-26,DOW,43313.6,43858.7,43283.0,43813.8
2025-02-27,DOW,43813.8,43879.9,43318.9,43809.3

## KOSDAQ Data
Date,Name,Open,High,Low,Close
2025-02-25,KOSDAQ,766.8,773.9,765.3,769.0
2025-02-26,KOSDAQ,769.0,774.2,766.7,774.1
2025-02-27,KOSDAQ,774.1,776.6,760.1,760.1

## 2025-02-27 News
1. **EUR/USD**: 유로/달러 환율은 1.0500 아래에서 유지되고 있으며, 트럼프의 EU 관세 부과는 예상된 일이었다.  
2. **CNY/USD (위안화)**: 중국 중앙은행(PBoC)은 위안화 환율을 달러당 7.1740으로 조정.  
3. **GBP/USD (영국 파운드)**: 파운드/달러 환율은 1.2685를 기록하며 2025년 최고 수준에 도달했으나, 조정 가능성이 있다.  
4. **코스피 및 원/달러 환율 동향** - 코스피 지수 0.73% 하락, 원/달러 환율 0.67% 상승하며 1443.0원에 마감.  
5. **트럼프 관세 발언으로 인한 환율 변동** - 트럼프의 EU 관세 부과 발언으로 달러 강세, 원/달러 환율 9.9원 상승.  
}"""

messages = [
    {"role": "user", "content": text},
]
input_ids = tokenizer.apply_chat_template(messages, return_tensors="pt", return_dict=True).to("cuda")

outputs = model.generate(**input_ids, max_new_tokens=256)
print(tokenizer.decode(outputs[0]))
Date,Name,Open,High,Low,Close
2025-02-28,USD,1446.3,1463.8,1445.4,1461.8

Evaluation

Ranking

Ranking refers to the process of ordering multiple values to assess their relative magnitude. The following table ranks the accuracy of currency predictions, calculated based on the Mean Absolute Percentage Error (MAPE) between the predicted High and Low values from various banks and models and the actual USD exchange rates for March 2025. MAPE provides a standardized measure of error, where lower values indicate higher prediction accuracy.

To evaluate the model’s performance under different data conditions, we compared results using exchange rate data from Yahoo Finance, KEB Hana Bank, and SMBS (Seoul Money Brokerage Services). The Average column represents the overall average MAPE across all data sources(Yahoo Finance, KEB Hana Bank, SMBS). The Yahoo Finance, KEB Hana Bank and SMBS columns represent the average MAPE for High and Low values calculated using each respective data source.

RankSiteAverageYahoo FinanceKEB Hana BankSMBS
1Korea Trade Insurance Corp.0.180.170.190.18
2exchange-12b0.190.170.210.20
3Shinhan Bank0.200.190.200.20
4iM Bank0.210.200.230.21
4KOOKMIN BANK0.210.190.230.21
4Woori Bank0.210.190.230.21
7exchange-8b0.220.210.240.22
8exchange-3b0.230.230.230.23
8KEB Hana Bank0.230.220.230.24
8Toss Securities0.230.220.240.23
11exchange-1b0.250.250.260.24

More detailed Evaluation Results can be found in the Technical Report.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
0f02b4b

0 моделей