Skip to content

Instantly share code, notes, and snippets.

View polya20's full-sized avatar

polya polya20

View GitHub Profile
@polya20
polya20 / How to Have a Successful Application to Google Summer of Code by Ton Hoang Nguyen.md Cracking the Google Summer of Code Application: A Pattern-Based Guide ☀️ - Insights from successful applications to Google DeepMind (2025) and Joplin (2024)

How to Have a Successful Application to Google Summer of Code ☀️

By Ton Hoang Nguyen (Bill)
Accepted to Google DeepMind (GSoC 2025) and Joplin (GSoC 2024)

Last Updated: Mon 26 May 2025

Hi! I welcome you to the document that explains how to create the most successful application for Google Summer of Code based on my observations and discovered patterns. This will not only apply to Google Summer of Code, but it will also be helpful in other aspects of your professional life.

There's a hidden pattern to successful Google Summer of Code applications - one that I discovered after being accepted to not just one but two GSoC organizations: Google DeepMind and Joplin.

@HahaBill
HahaBill / How to Have a Successful Application to Google Summer of Code by Ton Hoang Nguyen.md
Last active June 5, 2025 18:56
Cracking the Google Summer of Code Application: A Pattern-Based Guide ☀️ - Insights from successful applications to Google DeepMind (2025) and Joplin (2024)

How to Have a Successful Application to Google Summer of Code ☀️

By Ton Hoang Nguyen (Bill)
Accepted to Google DeepMind (GSoC 2025) and Joplin (GSoC 2024)

Last Updated: Mon 26 May 2025

Hi! I welcome you to the document that explains how to create the most successful application for Google Summer of Code based on my observations and discovered patterns. This will not only apply to Google Summer of Code, but it will also be helpful in other aspects of your professional life.

There's a hidden pattern to successful Google Summer of Code applications - one that I discovered after being accepted to not just one but two GSoC organizations: Google DeepMind and Joplin.

@polya20
polya20 / hedge-fund-agent-team-v1-4.ipynb
Created November 21, 2024 19:06 — forked from virattt/hedge-fund-agent-team-v1-4.ipynb
hedge-fund-agent-team-v1-4.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@virattt
virattt / hedge-fund-agent-team-v1-4.ipynb
Created November 19, 2024 23:51
hedge-fund-agent-team-v1-4.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Begin by enclosing all thoughts within <thinking> tags, exploring multiple angles and approaches.
Break down the solution into clear steps within <step> tags. Start with a 20-step budget, requesting more for complex problems if needed.
Use <count> tags after each step to show the remaining budget. Stop when reaching 0.
Continuously adjust your reasoning based on intermediate results and reflections, adapting your strategy as you progress.
Regularly evaluate progress using <reflection> tags. Be critical and honest about your reasoning process.
Assign a quality score between 0.0 and 1.0 using <reward> tags after each reflection. Use this to guide your approach:
0.8+: Continue current approach
0.5-0.7: Consider minor adjustments
Below 0.5: Seriously consider backtracking and trying a different approach
Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.
- Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.
- Reasoning Before Conclusions: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!
- Reasoning Order: Call out reasoning portions of the prompt and conclusion parts (specific fields by name). For each, determine the ORDER in which this is done, and whether it needs to be reversed.
- Conclusion, classifications, or results should ALWAYS appear last.
- Examples: Include high-quality examples if helpful, using placeholders [in brackets] for complex elements.
- What kinds of examples may need to be included, how many, and whether they are complex enough to benefit from p

Option 1: Command-line download extension as zip and extract

extension_id=jifpbeccnghkjeaalbbjmodiffmgedin   # change this ID
curl -L -o "$extension_id.zip" "https://clients2.google.com/service/update2/crx?response=redirect&os=mac&arch=x86-64&nacl_arch=x86-64&prod=chromecrx&prodchannel=stable&prodversion=44.0.2403.130&x=id%3D$extension_id%26uc" 
unzip -d "$extension_id-source" "$extension_id.zip"

Thx to crxviewer for the magic download URL.

@polya20
polya20 / mixtral-8x22B.yaml
Created May 9, 2024 16:02 — forked from mtisz/mixtral-8x22B.yaml
Axolotl Config for Mixtral-8x22B
base_model: mistral-community/Mixtral-8x22B-v0.1
model_type: MixtralForCausalLM
tokenizer_type: AutoTokenizer
is_mistral_derived_model: false
trust_remote_code: true
load_in_8bit: false
load_in_4bit: true
strict: false
@mtisz
mtisz / mixtral-8x22B.yaml
Created May 9, 2024 14:57
Axolotl Config for Mixtral-8x22B
base_model: mistral-community/Mixtral-8x22B-v0.1
model_type: MixtralForCausalLM
tokenizer_type: AutoTokenizer
is_mistral_derived_model: false
trust_remote_code: true
load_in_8bit: false
load_in_4bit: true
strict: false
@thomwolf
thomwolf / fast_speech_text_speech.py
Last active January 14, 2025 12:13
speech to text to speech
""" To use: install LLM studio (or Ollama), clone OpenVoice, run this script in the OpenVoice directory
git clone https://github.com/myshell-ai/OpenVoice
cd OpenVoice
git clone https://huggingface.co/myshell-ai/OpenVoice
cp -r OpenVoice/* .
pip install whisper pynput pyaudio
"""
from openai import OpenAI
import time