Afternoon with Green Tea
  • Algorithm
  • ML
  • DL
  • RL
  • CV
  • System
  • Me
Sign in Subscribe
System

Add SSH keys to authorized_keys file

  • Orlando Ding

Orlando Ding

Apr 26, 2024

Reference: https://askubuntu.com/questions/46424/how-do-i-add-ssh-keys-to-authorized-keys-file

An alternative way to install your public key in the remote machine's authorized_keys:

cat ~/.ssh/id_rsa.pub | ssh USER@HOST "mkdir -p ~/.ssh && cat >> ~/.ssh/authorized_keys"

Sign up for more

Enter your email
Subscribe
我会在这里

我会在这里

Daily life about personal mood here
Jun 11, 2025 2 min read

Finetuning llama

For Llama2, refer to Fine-Tuning Llama 2 Using LoRA and QLoRA: A Comprehensive Guide. For training phase * Set up QLoRA and BitsAndBytes configuration * Load base model with quantization setting * Tokenizer and perfconfiguraiton * Start SFTTrainer * Save weight to certain folder after training For evaluation phase * Load base model using AutoModelForCausalLM * Merge
Aug 26, 2024 2 min read
DSPy and outlines preparation

DSPy and outlines preparation

DSPy and outlines preparation on macOS 10.13.6
Aug 18, 2024 3 min read
Afternoon with Green Tea © 2025
  • Latest Posts
  • Facebook
  • Twitter
  • Ghost
蜀ICP备2021030655