• ThePrompt
  • Posts
  • Code Llama: Better than GitHub Copilot

Code Llama: Better than GitHub Copilot

PLUS: FaceFusion: Swap faces in photos/videos

Hi folks!👋🏻 This is The Prompt! Harvesting the best of AI, right from the vast fields of the internet to your inbox. As fresh as it gets.

Let's get it

FEATURED

Code Llama: An AI tool for coding, by Meta

A new win for open-sourced AI models.

Meta released a code-focused language model called Code Llama, which was created by further training Llama 2 on its code-specific datasets.

How does it work

It can generate code, and natural language about code, from both code and natural language prompts (e.g., “Write me a function that outputs the Fibonacci sequence.”)

It can also be used for code completion and debugging.

It supports many of the most popular languages being used today, including Python, C++, Java, PHP, Typescript (Javascript), C#, and Bash.

Performance

CodeLlama-python is better than GPT-3.5, but still trailing behind GPT-4.

However, it is significantly better than Codex, which is what GitHub copilot uses — and we know that one’s good.

Model sizes

The models are finetuned from Llama-2 base models and come in 3 options: vanilla, Instruct, and Python. Model sizes are 7B, 13B, 34B.

The smallest model can run locally with a decent GPU.

Github repo: Link

Download the model: Link

NEW TECH

FaceFusion: Swap faces in a photo or video

FaceFusion can switch any face on a photo or a video.

It is open-source, has a simple interface, and you can run it locally on your Macbook.

A bit scary how easy this has become, right?

🚨 What else is going on

  • OpenAI partners with Scale to offer enterprise-level fine-tuning of GPT3.5

  • Lex raised $2.75M for its AI writing tool. So AI wrappers are not in trouble I guess.

  • Google and Microsoft might be powering AI-generated adult content

  • Today is the 1-year anniversary of StabilityAI's Stable Diffusion 1.4 public release. See the difference for the same prompt "Poplars at sunset"

📕 Resources

🧰 Tools of the trade

  • OpenCopilot: Create a custom co-pilot for your SaaS product

  • ProposalGPT: Smart proposal builder for Freelancers

  • JustBlog: Create blog articles that rank with affiliate integrations.

  • Reminisce: Learn any IT skill in 1 day

  • Mine my Review: Unlock insights from your reviews

✍🏼 Prompt of the Day

TOOL

Midjourney

PROMPT

Tilted Angle Shot, High Contrast Monochrome, Cold Blue Coloring, Neo Noir style thriller film, 28yo Asian woman, Rooftop in a rainstorm, Long black trench coat, Stormy with lightning. --ar 16:9 --style raw --s 75

RESULT

Subscribe to keep reading

This content is free, but you must be subscribed to ThePrompt to continue reading.

Already a subscriber?Sign In.Not now