I couldn't find instructions that were 100% complete, so I put this together.
These instructions worked fine for me. Follow each step carefully.
DO NOT create the VM by choosing Quick Create in Hyper-V Manager. Follow these instructions exactly.
| /* https://spectreattack.com/spectre.pdf */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdint.h> | |
| #ifdef _MSC_VER | |
| #include <intrin.h> /* for rdtscp and clflush */ | |
| #pragma optimize("gt",on) | |
| #else | |
| #include <x86intrin.h> /* for rdtscp and clflush */ | |
| #endif |
| rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!! | |
| rem https://technet.microsoft.com/en-us/itpro/powershell/windows/defender/set-mppreference | |
| rem To also disable Windows Defender Security Center include this | |
| rem reg add "HKLM\System\CurrentControlSet\Services\SecurityHealthService" /v "Start" /t REG_DWORD /d "4" /f | |
| rem 1 - Disable Real-time protection | |
| reg delete "HKLM\Software\Policies\Microsoft\Windows Defender" /f | |
| reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f | |
| reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiVirus" /t REG_DWORD /d "1" /f | |
| reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpEnablePus" /t REG_DWORD /d "0" /f | |
| reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableBehaviorMonitoring" /t REG_DWORD /d "1" /f |
| """ | |
| To use the extension, place the file somewhere and add | |
| `source /path/to/extension` | |
| in your ~/.gdbinit file | |
| Use just as you would with `dereference` (https://gef.readthedocs.io/en/master/commands/dereference/) | |
| but s/deref/veref/g | |
| Many missing features because I quickly whipped this up to solve a challenge. | |
| 1) Doesn't check for v8 version (Older versions don't use compressed pointers) |
I couldn't find instructions that were 100% complete, so I put this together.
These instructions worked fine for me. Follow each step carefully.
DO NOT create the VM by choosing Quick Create in Hyper-V Manager. Follow these instructions exactly.
| 1. I cloned the repo | |
| git clone https://github.com/Blealtan/RWKV-LM-LoRA | |
| 2. I download 7B Instruct | |
| wget https://huggingface.co/BlinkDL/rwkv-4-pile-7b/resolve/main/RWKV-4-Pile-7B-Instruct-test2-20230209.pth | |
| (in my home directory /home/shazam ) |
| https://twitter.com/ShinyQuagsire/status/1536432635643211777 12:37 PM · Jun 13, 2022 | |
| ----- | |
| I figured out how to enable USB device mode on my XPS 13 (9350) 🎉 | |
| Though for some ungodly reason, it uses the right-side full USB port. So a crossover cable is required. | |
| ----- | |
| https://twitter.com/ShinyQuagsire/status/1536434057671716864 12:43 PM · Jun 13, 2022 | |
| ----- |
| import ast | |
| import logging | |
| import inspect | |
| from typing import Type, TypeVar | |
| from dspy import Assert, Module, ChainOfThought, Signature, InputField, OutputField | |
| from pydantic import BaseModel, ValidationError | |
| logger = logging.getLogger(__name__) | |
| logger.setLevel(logging.ERROR) |
| base_model: meta-llama/Meta-Llama-3-70B | |
| model_type: LlamaForCausalLM | |
| tokenizer_type: AutoTokenizer | |
| load_in_8bit: false | |
| load_in_4bit: true | |
| strict: false | |
| datasets: | |
| - path: /home/migel/ai_datasets/tess-v1.5b-chatml.jsonl |
Original report