abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

dora-rs/dora-idefics2

published by @dora-rs

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

region:us
Lifetime downloads
3.8K
Last 30 days
89
Likes
5
Size
225.9 KB

Description

Getting Started

Create a new conda environment for robomaster

conda create -n robomaster python=3.8

pip install robomaster dora-rs==0.3.3

Create a new conda environment for idefics2. This requirements file suppose that your using cu122.

conda create -n idefics2 python=3.10

conda activate idefics2

pip install -r requirements.txt

Robomaster Jailbreak

Installation of the Robomaster S1 Hack

This guide is an updated version of the original Robomaster… See the full description on the dataset page: https://huggingface.co/datasets/dora-rs/dora-idefics2.

Used by uncensored models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

Created on HFCreated
2024-04-06 · 2 years ago

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
225.9 KB
Files
28
Formats
py, yml, txt
Head
0827444
Last updated on HFLast updated
2024-05-05

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("dora-rs/dora-idefics2")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="dora-rs/dora-idefics2", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/dora-rs/dora-idefics2

Files by folder from our last crawlfrom our last check

top level 5 files 170.0 KB
.gitattributes 230 B file download
.gitignore 153 B file download
LICENSE 165.0 KB file download
README.md 4.4 KB md download
requirements.txt 277 B txt download
graphs/ 6 files 6.9 KB
dataflow_basic.yml 681 B yml download
dataflow_robot_basic.yml 1.0 KB yml download
dataflow_robot_vlm_minimize.yml 942 B yml download
dataflow_robot_vlm.yml 1.7 KB yml download
dataflow_vlm_basic.yml 1.3 KB yml download
dataflow_vlm_policy.yml 1.2 KB yml download
operators/ 15 files 45.0 KB
constants.py 853 B py download
idefics2_op_demo.py 3.6 KB py download
idefics2_op.py 4.2 KB py download
llm_op.py 7.3 KB py download
opencv_stream.py 838 B py download
parler_op.py 1.6 KB py download
planning_op.py 6.7 KB py download
plot.py 5.8 KB py download
policy.py 809 B py download
reload.py 385 B py download
robot_minimize.py 2.4 KB py download
robot.py 1.9 KB py download
utils.py 3.9 KB py download
webcam.py 2.2 KB py download
whisper_op.py 2.5 KB py download
tests/ 2 files 4.0 KB
test_idefics2.py 3.7 KB py download
test_robomaster.py 261 B py download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

Getting Started

Create a new conda environment for robomaster

conda create -n robomaster python=3.8
pip install robomaster dora-rs==0.3.3

Create a new conda environment for idefics2. This requirements file suppose that your using cu122.

conda create -n idefics2 python=3.10
conda activate idefics2
pip install -r requirements.txt

Robomaster Jailbreak

Installation of the Robomaster S1 Hack

This guide is an updated version of the original Robomaster S1 SDK Hack Guide and is intended for use on a Windows 11 system.

Prerequisites

Before you get started, you'll need the following:

  • Robomaster S1 (do not update it to the latest version, as it may block the hack).
  • Robomaster App.
  • Android SDK Platform-Tools. Simply unzip it and keep the path handy.
  • A micro USB cable. If this guide doesn't work, there might be an issue with the cable, and you may need to replace it with one that supports data transfer.

Instructions

  1. Start the Robomaster App and connect the Robomaster S1 using one of the two options provided (via router or via Wi-Fi).

  2. While connected, use a micro USB cable to connect the robot to the computer's USB port. You should hear a beep sound, similar to when you connect any device. (Please note that no other Android device should be connected via USB during this process).

  3. In the Lab section of the app, create a new Python application and paste the following code:

    def root_me(module):
        __import__ = rm_define.__dict__['__builtins__']['__import__']
        return __import__(module, globals(), locals(), [], 0)
    
    builtins = root_me('builtins')
    subprocess = root_me('subprocess')
    proc = subprocess.Popen('/system/bin/adb_en.sh', shell=True, executable='/system/bin/sh', stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    
  4. Run the code; there should be no errors, and the console should display Execution Complete

  5. Without closing the app, navigate to the folder containing the Android SDK Platform-Tools and open a terminal inside it.

  6. Run the ADP command .\adb.exe devices . If everything is working correctly, you should see output similar to this: image

  7. Execute the upload.sh script located in the folder s1_SDK.

  8. Once everything has been executed, restart the S1 by turning it off and then back on. While it's booting up, you should hear two chimes instead of the usual single chime, indicating that the hack has been successful.

Robomaster Connection

Make sure to be connected using the wifi hotspot of the robomaster which is the most stable one.

The default password for the hotpsot is: 12341234

You might need to have a second wifi card if you want to be able to run the demo with internet on.

Post-Installation test

Please try running idefics2 with:

conda activate idefics2
python tests/test_idefics2.py

Please try running robomaster with:

conda activate robomaster
python tests/test_robomaster.py

Running the demo

export HF_TOKEN=<TOKEN>
conda activate idefics2
# This requires dora==0.3.3, update with:
# cargo install dora-cli
dora up
dora start graphs/dataflow_robot_vlm.yml --attach --hot-reload

Current way to interact is by press up arrow key on laptop to record a message and send to the VLM

Running the demo without robot

export HF_TOKEN=<TOKEN>
conda activate idefics2
# This requires dora==0.3.3, update with:
# cargo install dora-cli
dora up
dora start graphs/dataflow_vlm_basic.yml --attach --hot-reload

Current way to interact is by press up arrow key on laptop to record a message and send to the VLM

Kill process in case of failure

Due to a Python GIL issue, we currently meed to kill processes manually. You can use the following command to do so:

pkill -f 'import dora;'

LICENSE

While the source of this library is licensed under Apache-2.0, the usage of the Text to Speech(TTS) SystemEngine is licensed under Mozilla Public License 2.0 and GNU Lesser General Public License (LGPL) version 3.0.

Feel free to remove the TTS SystemEngine.

README historyEdit history latest 20 of 24 revisionslatest 20 of 24 edits

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2024-05-05 Improving overall components 0827444 4.3 KB
    Loading...
  2. 2024-05-05 Small update 9b97c01 4.3 KB
    Loading...
  3. 2024-04-24 Adding couple of working nodes 533dd7a 4.3 KB
    Loading...
  4. 2024-04-16 Use latest transformers 293b414 4.3 KB
    Loading...
  5. 2024-04-16 Fixing multiples small bugs 3c8b0eb 4.3 KB
    Loading...
  6. 2024-04-16 fix minimized demo 1646f18 4.3 KB
    Loading...
  7. 2024-04-15 Adding fused_quantized fix be75a6c 4.3 KB
    Loading...
  8. 2024-04-15 Add license information c826c43 4.3 KB
    Loading...
  9. 2024-04-15 Adding S1 hack into the readme and improving navigation points 037f860 4.1 KB
    Loading...
  10. 2024-04-15 Changing policy destination to keyword 3eab118 1.7 KB
    Loading...
  11. 2024-04-14 updating clarity of the video 8852f54 1.7 KB
    Loading...
  12. 2024-04-14 Simplify planning c3afd26 1.7 KB
    Loading...
  13. 2024-04-14 Simplifying robot control behavior c641eb7 1.7 KB
    Loading...
  14. 2024-04-14 replace idefics by a policy 1a7150e 1.7 KB
    Loading...
  15. 2024-04-14 Fix demo testing 23f48d8 1.7 KB
    Loading...
  16. 2024-04-13 Adding policy node for controlling the robot fe79d42 1.7 KB
    Loading...
  17. 2024-04-12 Use whisper instead of keyboard ffc2aa4 1.5 KB
    Loading...
  18. 2024-04-12 add pyttsx3 using espeak 3f09bdf 1.5 KB
    Loading...
  19. 2024-04-11 Fix autoawq kernels requirements 841b7c4 1.5 KB
    Loading...
  20. 2024-04-11 Adding more info on the README 810a70f 1.2 KB
    Loading...
Download from Hugging Face

dora-rs/dora-idefics2

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration