In[]:=
$ExportPath="/home/sw/Dropbox/GeneralBox/Research/LLMScience/SWData";
In[]:=
SetDirectory[$ExportPath]
Out[]=
/home/sw/Dropbox/GeneralBox/Research/LLMScience/SWData
In[]:=
CreateDirectory["RandomEmbeddings"]
Out[]=
/home/sw/Dropbox/GeneralBox/Research/LLMScience/SWData/RandomEmbeddings
In[]:=
CreateDirectory["Knockouts1Random"]
Out[]=
/home/sw/Dropbox/GeneralBox/Research/LLMScience/SWData/Knockouts1Random
In[]:=
CreateDirectory["Knockouts1Zero"]
Out[]=
/home/sw/Dropbox/GeneralBox/Research/LLMScience/SWData/Knockouts1Zero
Random Embeddings
Random Embeddings
NOTE : this reseeds the randomness each time....
In[]:=
Do[Print[Now];Print[Range[223+k11,223+(k+1)*11-1]];With[{w=StableDiffusionSynthesize[Table[SeedRandom[n];RandomReal[NormalDistribution[],{70,768}]->BlockRandom[SeedRandom[2242];RandomVariate[NormalDistribution[],{4,64,64}]],{n,223+k11,223+(k+1)*11-1}],sdOptions]},Export[FileNameJoin[{"RandomEmbeddings",StringJoin[ToString[#[[1]]],".png"]}],#[[2]]]&/@Transpose[{Range[223+k11,223+(k+1)*11-1],w}];Print[Rasterize[w,RasterSize->800]]];NotebookSave[],{k,200}]
{234,235,236,237,238,239,240,241,242,243,244}
{245,246,247,248,249,250,251,252,253,254,255}
{256,257,258,259,260,261,262,263,264,265,266}
{267,268,269,270,271,272,273,274,275,276,277}
{278,279,280,281,282,283,284,285,286,287,288}
{289,290,291,292,293,294,295,296,297,298,299}
{300,301,302,303,304,305,306,307,308,309,310}
{311,312,313,314,315,316,317,318,319,320,321}
Fixed Random Embedding; Changing Seed
Fixed Random Embedding; Changing Seed
Knockouts [1 module]
Knockouts [1 module]
TO DO: multiple seeds per module
TO DO: multiple seeds per module
Knockouts [2 modules]
Knockouts [2 modules]
Canonical Cat
Canonical Cat
threadripper2:
Embedding walk
Embedding walk