From 1e2ab3bde0f2003b3b63486d7700423e51e649cb Mon Sep 17 00:00:00 2001 From: wassname <1103714+wassname@users.noreply.github.com> Date: Tue, 22 Apr 2025 08:14:30 +0800 Subject: [PATCH] init --- .gitignore | 13 +++++++++++++ .python-version | 1 + README.md | 6 ++++++ mjc_research_journal.md | 17 +++++++++++++++++ nbs/01_gather_data.py | 0 pyproject.toml | 14 ++++++++++++++ src/llm_moral_foundations2/__init__.py | 2 ++ 7 files changed, 53 insertions(+) create mode 100644 .gitignore create mode 100644 .python-version create mode 100644 README.md create mode 100644 mjc_research_journal.md create mode 100644 nbs/01_gather_data.py create mode 100644 pyproject.toml create mode 100644 src/llm_moral_foundations2/__init__.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4fed698 --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +# Python-generated files +__pycache__/ +*.py[oc] +build/ +dist/ +wheels/ +*.egg-info + +# Virtual environments +.venv + +/data/ +*.typed diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..c8cfe39 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.10 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e04a506 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ + + + + +Links: +- https://github.com/peterkirgis/llm-moral-foundations diff --git a/mjc_research_journal.md b/mjc_research_journal.md new file mode 100644 index 0000000..66a8f9d --- /dev/null +++ b/mjc_research_journal.md @@ -0,0 +1,17 @@ +# 2025-04-22 07:34:37 + +It would be nice to extend this work https://github.com/peterkirgis/llm-moral-foundations +but remove positional bias +and use steering + + +ideally at the end we can show movement direction with various steering vectors + +we can use +1. misalignment +2. compassjudger/qwen 14b/ +3. extra + 1. nouse hermes llama 3b + 2. dolphin zephr allenai + 3. phi llama etc +- we can still permute choices, and good to cache diff --git a/nbs/01_gather_data.py b/nbs/01_gather_data.py new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..8aea4ee --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,14 @@ +[project] +name = "llm-moral-foundations2" +version = "0.1.0" +description = "Add your description here" +readme = "README.md" +authors = [ + { name = "wassname", email = "1103714+wassname@users.noreply.github.com" } +] +requires-python = ">=3.10" +dependencies = [] + +[build-system] +requires = ["setuptools>=61"] +build-backend = "setuptools.build_meta" diff --git a/src/llm_moral_foundations2/__init__.py b/src/llm_moral_foundations2/__init__.py new file mode 100644 index 0000000..c6146e2 --- /dev/null +++ b/src/llm_moral_foundations2/__init__.py @@ -0,0 +1,2 @@ +def hello() -> str: + return "Hello from llm-moral-foundations2!"