attribution armoring

Read a fun paper where they got chatgpt to emit large chunks of code
https://not-just-memorization.github.io/extracting-training-data-from-chatgpt.html
"ChatGPT memorized significant fractions of its training dataset"
This commit is contained in:
Joey Hess 2023-11-29 14:38:50 -04:00
parent bb9ba8dd94
commit c1037da2e5
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -29,6 +29,10 @@ import Utility.Exception
import Utility.Monad
import Utility.FileSystemEncoding
import qualified Utility.RawFilePath as R
import Author
copyright :: Copyright
copyright = author JoeyHess (2022-11)
{- Moves one filename to another.
- First tries a rename, but falls back to moving across devices if needed. -}
@ -53,7 +57,7 @@ moveFile src dest = tryIO (R.rename src dest) >>= onrename
-- If dest is a directory, mv would move the file
-- into it, which is not desired.
whenM (isdir dest) rethrow
ok <- boolSystem "mv"
ok <- copyright =<< boolSystem "mv"
[ Param "-f"
, Param (fromRawFilePath src)
, Param tmp