This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li class="mb-8 border-b-2 border-gray pb-8"> | |
<h2 class="font-bold"> | |
temperature | |
</h2> | |
<p class="text-gray-500"> | |
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. | |
</p> | |
<p class="text-gray-500"> | |
We generally recommend altering this or top_p but not both. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li class="mb-8 border-b-2 border-gray pb-8"> | |
<h3> | |
<span class="font-bold mr-2">temperature</span> | |
<span class="text-gray-500 mr-2 bg-gray-100 px-2 rounded text-xs">number or null</span> | |
<span class="text-gray-500 mr-2 bg-gray-100 px-2 rounded text-xs">Optional</span> | |
<span class="text-gray-500 bg-gray-100 px-2 rounded text-xs">Defaults to 1</span> | |
</h3> | |
<p class="text-gray-600"> | |
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<li class="mb-8 border-b-2 border-gray pb-8"> | |
<h3> | |
<span class="font-bold mr-2">temperature</span> | |
<span class="text-gray-400 mr-2">number or null</span> | |
<span class="text-gray-400 mr-2">Optional</span> | |
<span class="text-gray-400">Defaults to 1</span> | |
</h3> | |
<p> | |
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import aiohttp | |
import asyncio | |
import uvicorn | |
from fastai import * | |
from fastai.vision import * | |
from fastai.vision.all import * | |
from io import BytesIO | |
from starlette.applications import Starlette | |
from starlette.middleware.cors import CORSMiddleware | |
from starlette.responses import HTMLResponse, JSONResponse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var featureList = new List('archives', options); | |
$("img.lazy").lazyload({ | |
events: [{ | |
bindTo: window, | |
event: "scroll resize load" | |
}, { | |
bindTo: featureList.listContainer, | |
event: "updated" | |
}] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// migration.rb | |
class AddTransactionsToRsvp < ActiveRecord::Migration | |
def change | |
add_column :rsvps, :transactions, :string, array: true, default: [] | |
end | |
end | |
// gig_post_helper.rb | |
def duration_tag_collection |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
feature "Super admin can invite admin" do | |
scenario "from admin panel" do | |
visit admin_panel_path | |
expect(page).to have_content("Invite Admin") | |
click_link("Invite Admin") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'pry' | |
num = 13195 | |
class FindLargestPrimeFactor | |
def initialize(num) | |
@num = num | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'SQLite3' | |
class Student | |
attr_accessor :name, :twitter, :linkedin, :facebook, :website | |
attr_reader :id | |
ATTRIBUTES = { | |
:id=>"INTEGER PRIMARY KEY AUTOINCREMENT", :name=>"TEXT", :twitter=>"TEXT", :linkedin=>"TEXT", :facebook=>"TEXT", :website=>"TEXT" | |
} |
NewerOlder