Spaces:
Sleeping
Download README.md from UTKojima/2ndPaper_v5: direct link, hf CLI and curl.
- Browser
- Download file 5.02 kB
-
https://huggingface.co/spaces/UTKojima/2ndPaper_v5/resolve/main/README.md
- Command line
-
hf download hf://spaces/UTKojima/2ndPaper_v5/README.md
-
curl -L -o README.md https://huggingface.co/spaces/UTKojima/2ndPaper_v5/resolve/main/README.md
A newer version of the Gradio SDK is available: 6.32.0
title: 2ndPaper
emoji: 📚
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.26.0
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
ーーーーーーー
🚀 Symplectic LLM Energy Stability Experiment
This HuggingFace space provides a demonstration of energy-preserving methods applied to Large Language Models (LLMs) using symplectic integrators. To fully utilize this code, please copy the space to your own HuggingFace account, enable GPU acceleration, and then launch the application.
🌟 Quick Start Guide
Once the program is running, you can perform the primary experiment:
🔍 Internal Dynamics Evaluation (measuring energy drift with long output) Enter the following prompt into the textbox:
Explain in about 250 tokens how symplectic integrators preserve energy in Hamiltonian systems.
After submission, you will obtain both experimental data and graphical comparisons of the energy drift between the baseline and symplectic-corrected model outputs.
📌 Additional Tasks (Adjustments Required)
The application supports various additional tasks listed below. However, please note that minor adjustments to the provided program may be necessary to suit each specific task:
📝 Technical Text Summarization (coherence & factual accuracy)
Summarize the following paragraph in 3–4 sentences:
"Hamiltonian mechanics is a reformulation of classical mechanics that arises from Hamilton's equations. …"
❓ Question Answering (consistency & correctness)
Q: What is a symplectic integrator?
A:
🌐 Translation (fluency measurement)
Translate into Japanese: "Energy-preserving integrators are essential for long-term stability in numerical simulations."
💻 Mathematical Formula & Code Generation (accuracy measurement)
Provide Python code using the symplectic Euler method to simulate a simple harmonic oscillator.
📖 Creative Story Writing (diversity & creativity measurement)
Write a 150-word sci-fi short story about a time traveler who discovers a conserved quantity in their journey.
🎨 Poetic Expression (richness of expression measurement)
Compose a 10-line poem in Japanese about the phase space of a Hamiltonian system.
⚙️ Parameter Sensitivity Comparison (varying Δt, β)
Explain symplectic geometry in simple terms (approx. 100 words).
🚀 シンプレクティックLLM エネルギー安定化実験
本HuggingFaceスペースは、シンプレクティック積分を用いて大規模言語モデル(LLM)のエネルギー安定性を評価するための実験用プログラムです。スペースをお使いいただく際は、ご自身のHuggingFaceアカウントにスペースをコピーし、GPUを有効化してご利用ください。
🌟 簡単な使用方法
プログラムが起動したら、まずは次のプロンプトを入力し、内部ダイナミクス評価を行ってください。
🔍 内部ダイナミクス評価用(長い出力でエネルギー推移を測定)
以下のプロンプトを入力してください:
Explain in about 250 tokens how symplectic integrators preserve energy in Hamiltonian systems.
これにより、ベースラインとシンプレクティック補正モデルとのエネルギードリフト比較グラフや統計データが得られます。
📌 その他タスク(プログラム修正が望ましい)
本プログラムは以下のタスクにも対応可能ですが、最適な結果を得るためにはプログラムの微調整を推奨します。
📝 技術文要約タスク(コヒーレンス・事実性を測定)
Summarize the following paragraph in 3–4 sentences:
"Hamiltonian mechanics is a reformulation of classical mechanics that arises from Hamilton's equations. …"
❓ 質問応答タスク(一貫性・正確さを測定)
Q: What is a symplectic integrator?
A:
🌐 翻訳タスク(流暢さを測定)
Translate into Japanese: "Energy-preserving integrators are essential for long-term stability in numerical simulations."
💻 数式・コード生成タスク(数式や実装の正しさを測定)
Provide Python code using the symplectic Euler method to simulate a simple harmonic oscillator.
📖 創作ストーリータスク(多様性・創造性を測定)
Write a 150-word sci-fi short story about a time traveler who discovers a conserved quantity in their journey.
🎨 詩的表現タスク(表現の豊かさを測定)
Compose a 10-line poem in Japanese about the phase space of a Hamiltonian system.
⚙️ パラメータ感度比較用(同じプロンプトを Δt, β を変えて投げる)
Explain symplectic geometry in simple terms (approx. 100 words).